
<!-- saved from url=(0063)http://www.mathworks.it/help/techdoc/matlab_external/f6425.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/print.css" type="text/css" media="print">

   <title>Passing Data to a Java Method :: Using Java Libraries from MATLAB (MATLAB®)</title>
  <meta http-equiv="Content-Script-Type" content="text/javascript">
<meta name="toctype" content="ug">
<script type="text/javascript" async="" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/ga.js"></script><script type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/prototype-1.6.0.2.js"></script>

<meta name="description" content="How to pass MATLAB types into Java methods.">



<script type="text/javascript" language="JavaScript">
<!--
//Establish variables specific to this file
  var index_subpath = "techdoc/helpindex.seg_a.html";
//-->
</script>



<script language="JavaScript" type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/docscripts.js"></script>
<script type="text/javascript" language="JavaScript1.3">
    // Determine if it is IE and Version
    msieIndex = navigator.appVersion.indexOf("MSIE") + 5;
    index = navigator.appVersion.substr(msieIndex,3);
    index = parseFloat (index);
    if ((navigator.appName == "Microsoft Internet Explorer") && (index < 6 ) && navigator.platform == "Win32" ) {
		
        document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/ie4_5.css\" type=\"text/css\">");
        brows = "IE 5.5<";
        //alert ("you are IE 5.5 and DOWN on windows, you have the body td bug, and everyone in the world has you. You get Percentages!" + index);
    } else if ((navigator.appName == "Microsoft Internet Explorer") && (index >= 6 ) && navigator.platform == "Win32" ) {
		
		document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/ie6_up.css\" type=\"text/css\">");
        brows = "IE 6>";
    // alert ("you are IE 6 and UP on windows, you are in Standards Mode DTD and everyone in the world has you. You get Percentages with EM's!" + index);
    } else if (document.layers) {
		
        document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/nn_4.css\" type=\"text/css\">");
        brows = "NN4<";
        //alert ("you are Netscape 4 - you get points!" + index);
    } else {
		
        document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/dom.css\" type=\"text/css\">");
        brows = "DOM";
        //alert ("you are DOM or Mac, or Netscape 4 or up or some other thing I dont know - you get pixels!" + index);
    } // end if
    
	document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/site4.css\" type=\"text/css\">");
  // document.write("<span style=\"position: absolute; color:gray\" class=\"small\">" + brows + "<\/span>");
</script><link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/dom.css" type="text/css"><link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/site4.css" type="text/css">
<!--Do the switching based on country here -->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/intl_topnav_data/english.js"></script-->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/topnav.js"></script-->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/leftnav.js"></script-->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/common.js"></script--><link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/docset3.css" type="text/css">
<script type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/jquery-latest.js"></script>
<script type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/global.js"></script>
<link href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/classic_doc_search.css" rel="stylesheet" type="text/css">
<link href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/docsearch.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/docsearch.js"></script>
<script type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/jquery.toggleval.js"></script>


<!--JF: The below will probably have to be pulled into every doc document, since it is part of the header --> 
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/header-footer-nextgen.css" type="text/css">
<!--JF: The above will probably have to be pulled into every doc document, since it is part of the header --> 
</head>
<body onresize="resizeHeight();">
<!--JF: The below was included for the CSS dropdown addition -->

<ul id="navbar">
  <!-- The strange spacing herein prevents an IE6 whitespace bug. -->
  <li><a href="http://www.mathworks.it/products/?s_cid=global_nav">Prodotti e servizi</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="three-level">
      <li><a href="http://www.mathworks.it/products/matlab/?s_cid=global_nav">Prodotti MATLAB</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column three-column"> 



	<div class="column">
                    	
                            	<ul>  
                       
						<li>                       	
						<a title="The Language of Technical Computing" href="http://www.mathworks.it/products/matlab/?s_cid=global_nav">MATLAB</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2>Calcolo Parallelo</h2>
                            	<ul>
						<li>                       	
						<a title="Perform parallel computations on multicore computers, GPUs, and computer clusters" href="http://www.mathworks.it/products/parallel-computing/?s_cid=global_nav">Parallel Computing Toolbox</a></li>
                    	
						<li>                       	
						<a title="Perform MATLAB and Simulink computations on computer clusters and server farms" href="http://www.mathworks.it/products/distriben/?s_cid=global_nav">MATLAB Distributed Computing Server</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2>Matematica, Statistica e Ottimizzazione</h2>
                            	<ul>
						<li>                       	
						<a title="Perform mathematics using symbolic computation and variable-precision arithmetic" href="http://www.mathworks.it/products/symbolic/?s_cid=global_nav">Symbolic Math Toolbox</a></li>
                    	
						<li>                       	
						<a title="Solve partial differential equations using finite element methods" href="http://www.mathworks.it/products/pde/?s_cid=global_nav">Partial Differential Equation Toolbox</a></li>
                    	
						<li>                       	
						<a title="Perform statistical analysis, modeling, and algorithm development" href="http://www.mathworks.it/products/statistics/?s_cid=global_nav">Statistics Toolbox</a></li>
                    	
						<li>                       	
						<a title="Fit curves and surfaces to data using regression, interpolation, and smoothing" href="http://www.mathworks.it/products/curvefitting/?s_cid=global_nav">Curve Fitting Toolbox</a></li>
                    	
						<li>                       	
						<a title="Solve standard and large-scale optimization problems" href="http://www.mathworks.it/products/optimization/?s_cid=global_nav">Optimization Toolbox</a></li>
                    	
						<li>                       	
						<a title="Solve multiple maxima, multiple minima, and nonsmooth optimization problems" href="http://www.mathworks.it/products/global-optimization/?s_cid=global_nav">Global Optimization Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate neural networks" href="http://www.mathworks.it/products/neural-network/?s_cid=global_nav">Neural Network Toolbox</a></li>
                    	
						<li>                       	
						<a title="Calibrate complex powertrain systems" href="http://www.mathworks.it/products/mbc/?s_cid=global_nav">Model-Based Calibration Toolbox</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2><a href="http://www.mathworks.it/control-systems/?s_cid=global_nav">Analisi e Progettazione di Sistemi di Controllo</a></h2>
                            	<ul>
						<li>                       	
						<a title="Design and analyze control systems" href="http://www.mathworks.it/products/control/?s_cid=global_nav">Control System Toolbox</a></li>
                    	
						<li>                       	
						<a title="Create linear and nonlinear dynamic models from measured input-output data" href="http://www.mathworks.it/products/sysid/?s_cid=global_nav">System Identification Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate fuzzy logic systems" href="http://www.mathworks.it/products/fuzzy-logic/?s_cid=global_nav">Fuzzy Logic Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design robust controllers for plants with uncertain parameters and unmodeled dynamics" href="http://www.mathworks.it/products/robust/?s_cid=global_nav">Robust Control Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate model predictive controllers" href="http://www.mathworks.it/products/mpc/?s_cid=global_nav">Model Predictive Control Toolbox</a></li>
                    	
						<li>                       	
						<a title="Aerospace reference standards, environmental models, and aerodynamic coefficient importing" href="http://www.mathworks.it/products/aerotb/?s_cid=global_nav">Aerospace Toolbox</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                            </div>
                            <div class="column">
                                            <h2>Elaborazione di Segnali e Comunicazioni</h2>
                            	<ul>
						<li>                       	
						<a title="Perform signal processing, analysis, and algorithm development" href="http://www.mathworks.it/products/signal/?s_cid=global_nav">Signal Processing Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate signal processing systems" href="http://www.mathworks.it/products/dsp-system/?s_cid=global_nav">DSP System Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate the physical layer of communication systems" href="http://www.mathworks.it/products/communications/?s_cid=global_nav">Communications System Toolbox</a></li>
                    	
						<li>                       	
						<a title="Analyze and synthesize signals and images using wavelet techniques" href="http://www.mathworks.it/products/wavelet/?s_cid=global_nav">Wavelet Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and execute fixed-point algorithms and analyze fixed-point data" href="http://www.mathworks.it/products/fixed/?s_cid=global_nav">Fixed-Point Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design, model, and analyze networks of RF components" href="http://www.mathworks.it/products/rftoolbox/?s_cid=global_nav">RF Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate phased array signal processing systems" href="http://www.mathworks.it/products/phased-array/?s_cid=global_nav">Phased Array System Toolbox</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2><a href="http://www.mathworks.it/image-video-processing/?s_cid=global_nav">Image Processing e Computer Vision</a></h2>
                            	<ul>
						<li>                       	
						<a title="Perform image processing, analysis, and algorithm development" href="http://www.mathworks.it/products/image/?s_cid=global_nav">Image Processing Toolbox</a></li>
                    	
						<li>                       	
						<a title="Design and simulate computer vision and video processing systems" href="http://www.mathworks.it/products/computer-vision/?s_cid=global_nav">Computer Vision System Toolbox</a></li>
                    	
						<li>                       	
						<a title="Acquire images and video from industry-standard hardware" href="http://www.mathworks.it/products/imaq/?s_cid=global_nav">Image Acquisition Toolbox</a></li>
                    	
						<li>                       	
						<a title="Analyze and visualize geographic information" href="http://www.mathworks.it/products/mapping/?s_cid=global_nav">Mapping Toolbox</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2><a href="http://www.mathworks.it/test-measurement/?s_cid=global_nav">Test &amp; Misurazioni</a></h2>
                            	<ul>
						<li>                       	
						<a title="Connect to data acquisition cards, devices, and modules" href="http://www.mathworks.it/products/daq/?s_cid=global_nav">Data Acquisition Toolbox</a></li>
                    	
						<li>                       	
						<a title="Control and communicate with test and measurement instruments" href="http://www.mathworks.it/products/instrument/?s_cid=global_nav">Instrument Control Toolbox</a></li>
                    	
						<li>                       	
						<a title="Acquire images and video from industry-standard hardware" href="http://www.mathworks.it/products/imaq/?s_cid=global_nav">Image Acquisition Toolbox</a></li>
                    	
						<li>                       	
						<a title="Read and write data from OPC servers and data historians" href="http://www.mathworks.it/products/opc/?s_cid=global_nav">OPC Toolbox</a></li>
                    	
						<li>                       	
						<a title="Communicate with in-vehicle networks using CAN protocol" href="http://www.mathworks.it/products/vehicle-network/?s_cid=global_nav">Vehicle Network Toolbox</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                            </div>
                            <div class="column">
                                            <h2><a href="http://www.mathworks.it/computational-finance/?s_cid=global_nav">Computational Finance</a></h2>
                            	<ul>
						<li>                       	
						<a title="Analyze financial data and develop financial algorithms" href="http://www.mathworks.it/products/finance/?s_cid=global_nav">Financial Toolbox</a></li>
                    	
						<li>                       	
						<a title="Model and analyze financial and economic systems using statistical methods" href="http://www.mathworks.it/products/econometrics/?s_cid=global_nav">Econometrics Toolbox</a></li>
                    	
						<li>                       	
						<a title="Access financial data from data service providers" href="http://www.mathworks.it/products/datafeed/?s_cid=global_nav">Datafeed Toolbox</a></li>
                    	
						<li>                       	
						<a title="Model and analyze fixed-income securities" href="http://www.mathworks.it/products/fixedincome/?s_cid=global_nav">Fixed-Income Toolbox</a></li>
                    	
						<li>                       	
						<a title="Model and analyze equity and fixed-income derivatives" href="http://www.mathworks.it/products/derivatives/?s_cid=global_nav">Financial Derivatives Toolbox</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2><a href="http://www.mathworks.it/computational-biology/?s_cid=global_nav">Computational Biology</a></h2>
                            	<ul>
						<li>                       	
						<a title="Read, analyze, and visualize genomic and proteomic data" href="http://www.mathworks.it/products/bioinfo/?s_cid=global_nav">Bioinformatics Toolbox</a></li>
                    	
						<li>                       	
						<a title="Software for computational systems biology and pharmacokinetics" href="http://www.mathworks.it/products/simbiology/?s_cid=global_nav">SimBiology</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2>Generazione Automatica di Codice</h2>
                            	<ul>
						<li>                       	
						<a title="Generate C and C++ code from MATLAB code" href="http://www.mathworks.it/products/matlab-coder/?s_cid=global_nav">MATLAB Coder</a></li>
                    	
						<li>                       	
						<a title="Generate HDL code for fixed-point filters" href="http://www.mathworks.it/products/filterhdl/?s_cid=global_nav">Filter Design HDL Coder</a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2><a href="http://www.mathworks.it/desktop-web-deployment/?s_cid=global_nav">Rilascio di Applicazioni</a></h2>
                            	<ul>
						<li>                       	
						<a title="Build standalone executables and software components from MATLAB code" href="http://www.mathworks.it/products/compiler/?s_cid=global_nav">MATLAB Compiler</a></li>
                    	
						<li>                       	
						<a title="Deploy MATLAB code as .NET or COM components" href="http://www.mathworks.it/products/netbuilder/?s_cid=global_nav">MATLAB Builder NE&nbsp;<em>(for Microsoft .NET Framework)</em></a></li>
                    	
						<li>                       	
						<a title="Deploy MATLAB code as Java classes" href="http://www.mathworks.it/products/javabuilder/?s_cid=global_nav">MATLAB Builder JA&nbsp;<em>(for Java language)</em></a></li>
                    	
						<li>                       	
						<a title="Deploy MATLAB code as Microsoft Excel add-ins" href="http://www.mathworks.it/products/matlabxl/?s_cid=global_nav">MATLAB Builder EX&nbsp;<em>(for Microsoft Excel)</em></a></li>
                    	
						<li>                       	
						<a title="Use MATLAB from Microsoft Excel" href="http://www.mathworks.it/products/excellink/?s_cid=global_nav">Spreadsheet Link EX&nbsp;<em>(for Microsoft Excel)</em></a></li>
                    	
                        </ul>  
                        <!-- increment size number -->
                            <!-- Set the Catagory list to end each column - Remember that the catergory count starts at zero -->
                                            <h2>Accesso a Database e Reportistica</h2>
                            	<ul>
						<li>                       	
						<a title="Exchange data with relational databases" href="http://www.mathworks.it/products/database/?s_cid=global_nav">Database Toolbox</a></li>
                    	
						<li>                       	
						<a title="Generate documentation for MATLAB applications and data" href="http://www.mathworks.it/products/ML_reportgenerator/?s_cid=global_nav">MATLAB Report Generator</a></li>
                </ul>               
	</div>
    
 </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      <li><a href="http://www.mathworks.it/products/simulink/?s_cid=global_nav">Prodotti Simulink</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column two-column"> 



	<div class="column">   

                        	                                <ul>
                            <li>

                           	<a title="Simulation and Model-Based Design" href="http://www.mathworks.it/products/simulink/?s_cid=global_nav">Simulink</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 0 -->
                                            <h2>Modellazione in Virgola Fissa</h2>
                                <ul>
                            <li>

                           	<a title="Design and simulate fixed-point systems" href="http://www.mathworks.it/products/simfixed/?s_cid=global_nav">Simulink Fixed Point</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 1 -->
                                            <h2>Modellazione ad Eventi</h2>
                                <ul>
                            <li>

                           	<a title="Design and simulate state charts" href="http://www.mathworks.it/products/stateflow/?s_cid=global_nav">Stateflow</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate discrete-event systems" href="http://www.mathworks.it/products/simevents/?s_cid=global_nav">SimEvents</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 2 -->
                                            <h2><a href="http://www.mathworks.it/physical-modeling/?s_cid=global_nav">Modellazione Fisica</a></h2>
                                <ul>
                            <li>

                           	<a title="Model and simulate multidomain physical systems" href="http://www.mathworks.it/products/simscape/?s_cid=global_nav">Simscape</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate mechanical systems" href="http://www.mathworks.it/products/simmechanics/?s_cid=global_nav">SimMechanics</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate mechanical driveline systems" href="http://www.mathworks.it/products/simdrive/?s_cid=global_nav">SimDriveline</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate hydraulic systems" href="http://www.mathworks.it/products/simhydraulics/?s_cid=global_nav">SimHydraulics</a></li>                       

                        	                            <li>

                           	<a title="Design and simulate RF systems" href="http://www.mathworks.it/products/simrf/?s_cid=global_nav">SimRF</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate electronic and electromechanical systems" href="http://www.mathworks.it/products/simelectronics/?s_cid=global_nav">SimElectronics</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate electrical power systems" href="http://www.mathworks.it/products/simpower/?s_cid=global_nav">SimPowerSystems</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 3 -->
                                            <h2><a href="http://www.mathworks.it/control-systems/?s_cid=global_nav">Analisi e Progettazione di Sistemi di Controllo</a></h2>
                                <ul>
                            <li>

                           	<a title="Compute PID gains, linearize models, and design control systems" href="http://www.mathworks.it/products/simcontrol/?s_cid=global_nav">Simulink Control Design</a></li>                       

                        	                            <li>

                           	<a title="Estimate and optimize Simulink model parameters" href="http://www.mathworks.it/products/sl-design-optimization/?s_cid=global_nav">Simulink Design Optimization</a></li>                       

                        	                            <li>

                           	<a title="Model and simulate aircraft, spacecraft, and propulsion systems" href="http://www.mathworks.it/products/aeroblks/?s_cid=global_nav">Aerospace Blockset</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 4 -->
                                            <h2>Elaborazione di Segnali e Comunicazioni</h2>
                                <ul>
                            <li>

                           	<a title="Design and simulate signal processing systems" href="http://www.mathworks.it/products/dsp-system/?s_cid=global_nav">DSP System Toolbox</a></li>                       

                        	                            <li>

                           	<a title="Design and simulate the physical layer of communication systems" href="http://www.mathworks.it/products/communications/?s_cid=global_nav">Communications System Toolbox</a></li>                       

                        	                            <li>

                           	<a title="Design and simulate RF systems" href="http://www.mathworks.it/products/simrf/?s_cid=global_nav">SimRF</a></li>                       

                        	                            <li>

                           	<a title="Design and simulate computer vision and video processing systems" href="http://www.mathworks.it/products/computer-vision/?s_cid=global_nav">Computer Vision System Toolbox</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 5 -->
                                </div>
                                <div class="column">
                                            <h2>Generazione Automatica di Codice</h2>
                                <ul>
                            <li>

                           	<a title="Generate C and C++ code from Simulink and Stateflow models" href="http://www.mathworks.it/products/simulink-coder/?s_cid=global_nav">Simulink Coder</a></li>                       

                        	                            <li>

                           	<a title="Generate C and C++ code optimized for embedded systems" href="http://www.mathworks.it/products/embedded-coder/?s_cid=global_nav">Embedded Coder</a></li>                       

                        	                            <li>

                           	<a title="Generate HDL code from Simulink models and MATLAB code" href="http://www.mathworks.it/products/slhdlcoder/?s_cid=global_nav">Simulink HDL Coder</a></li>                       

                        	                            <li>

                           	<a title="Generate IEC 61131 structured text for PLCs and PACs" href="http://www.mathworks.it/products/sl-plc-coder/?s_cid=global_nav">Simulink PLC Coder</a></li>                       

                        	                            <li>

                           	<a title="Qualify Simulink and Polyspace verification tools to DO-178" href="http://www.mathworks.it/products/do-178/?s_cid=global_nav">DO Qualification Kit&nbsp;<em>(for DO-178)</em></a></li>                       

                        	                            <li>

                           	<a title="Qualify code generation and verification tools for ISO 26262 and IEC 61508 certification" href="http://www.mathworks.it/products/iec-61508/?s_cid=global_nav">IEC Certification Kit&nbsp;<em>(for ISO 26262 and IEC 61508)</em></a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 6 -->
                                            <h2><a href="http://www.mathworks.it/rapid-prototyping/?s_cid=global_nav">Prototipazione Rapida e Simulazione HIL</a></h2>
                                <ul>
                            <li>

                           	<a title="Perform real-time rapid control prototyping and hardware-in-the-loop simulation" href="http://www.mathworks.it/products/xpctarget/?s_cid=global_nav">xPC Target</a></li>                       

                        	                            <li>

                           	<a title="Run xPC Target applications on standalone target computers" href="http://www.mathworks.it/products/xpcembedded/?s_cid=global_nav">xPC Target Embedded Option</a></li>                       

                        	                            <li>

                           	<a title="Run Simulink models on a PC in real time" href="http://www.mathworks.it/products/rtwt/?s_cid=global_nav">Real-Time Windows Target</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 7 -->
                                            <h2><a href="http://www.mathworks.it/verification-validation/?s_cid=global_nav">Verifica, Validazione e Test</a></h2>
                                <ul>
                            <li>

                           	<a title="Verify models and generated code" href="http://www.mathworks.it/products/simverification/?s_cid=global_nav">Simulink Verification and Validation</a></li>                       

                        	                            <li>

                           	<a title="Identify design errors, generate test vectors, and verify designs against requirements" href="http://www.mathworks.it/products/sldesignverifier/?s_cid=global_nav">Simulink Design Verifier</a></li>                       

                        	                            <li>

                           	<a title="Manage tests and analyze results for system verification and validation" href="http://www.mathworks.it/products/systemtest/?s_cid=global_nav">SystemTest</a></li>                       

                        	                            <li>

                           	<a title="Verify VHDL and Verilog using HDL simulators and FPGAs" href="http://www.mathworks.it/products/eda-simulator/?s_cid=global_nav">EDA Simulator Link</a></li>                       

                        	                            <li>

                           	<a title="Automate source code reviews for safety standards" href="http://www.mathworks.it/products/simulink-code-inspector/?s_cid=global_nav">Simulink Code Inspector</a></li>                       

                        	 
                            	</ul> 
                        <!-- increment 8 -->
                                            <h2>Grafica di Simulazione e Reportistica</h2>
                                <ul>
                            <li>

                           	<a title="Animate and visualize Simulink models in three dimensions" href="http://www.mathworks.it/products/3d-animation/?s_cid=global_nav">Simulink 3D Animation</a></li>                       

                        	                            <li>

                           	<a title="Monitor signals with graphical instruments" href="http://www.mathworks.it/products/gauges/?s_cid=global_nav">Gauges Blockset</a></li>                       

                        	                            <li>

                           	<a title="Generate documentation for Simulink and Stateflow models" href="http://www.mathworks.it/products/SL_reportgenerator/?s_cid=global_nav">Simulink Report Generator</a></li>                       


























































                </ul>               
		</div>

 </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      <li><a href="http://www.mathworks.it/products/polyspace/?s_cid=global_nav">Prodotti Polyspace</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column one-column"> 



		<div class="column">
			<ul>
                            <li>
                         
                            <a title="Prove the absence of run-time errors in source code" href="http://www.mathworks.it/products/polyspaceclientc/?s_cid=global_nav">Polyspace Client for C/C++</a></li>
                            <li>
                         
                            <a title="Perform code verification on computer clusters and publish metrics" href="http://www.mathworks.it/products/polyspaceserverc/?s_cid=global_nav">Polyspace Server for C/C++</a></li>
                            <li>
                         
                            <a title="Prove the absence of run-time errors in source code" href="http://www.mathworks.it/products/polyspaceclientada/?s_cid=global_nav">Polyspace Client for Ada</a></li>
                            <li>
                         
                            <a title="Perform code verification on computer clusters and publish metrics" href="http://www.mathworks.it/products/polyspaceserverada/?s_cid=global_nav">Polyspace Server for Ada</a></li>
                            <li>
                         
                            <a title="Trace Polyspace results to Simulink models" href="http://www.mathworks.it/products/polyspacemodelsl/?s_cid=global_nav">Polyspace Model Link SL&nbsp;<em>(for Simulink)</em></a></li>
                            <li>
                         
                            <a title="Trace Polyspace results to dSPACE TargetLink blocks" href="http://www.mathworks.it/products/polyspacemodeltl/?s_cid=global_nav">Polyspace Model Link TL&nbsp;<em>(for dSPACE TargetLink)</em></a></li>
                            <li>
                         
                            <a title="Trace Polyspace results to IBM Rational Rhapsody models" href="http://www.mathworks.it/products/polyspaceumlrh/?s_cid=global_nav">Polyspace UML Link RH&nbsp;<em>(for IBM Rational Rhapsody)</em></a></li>
                            <li>
                         
                            <a title="Qualify Simulink and Polyspace verification tools to DO-178" href="http://www.mathworks.it/products/do-178/?s_cid=global_nav">DO Qualification Kit&nbsp;<em>(for DO-178)</em></a></li>
                            <li>
                         
                            <a title="Qualify code generation and verification tools for ISO 26262 and IEC 61508 certification" href="http://www.mathworks.it/products/iec-61508/?s_cid=global_nav">IEC Certification Kit&nbsp;<em>(for ISO 26262 and IEC 61508)</em></a></li>
                </ul>               
	</div>

 </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      <li><a href="http://www.mathworks.it/products/?s_cid=global_nav">Servizi</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column one-column">
              <div class="column">
                <ul>
                  <li><a href="http://www.mathworks.it/services/maintenance/?s_cid=global_nav">Manutenzione software</a></li>
                  <li><a href="http://www.mathworks.it/services/training/index.html?s_cid=global_nav">Formazione</a></li>
                  <li><a href="http://www.mathworks.it/services/consulting/?s_cid=global_nav">Consulenza</a></li>
                  <li><a href="http://www.mathworks.it/products/connections/?s_cid=global_nav">Prodotti e servizi Terze-Parti</a></li>
                </ul>
              </div>
            </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
  <li><a href="http://www.mathworks.it/solutions/?s_cid=global_nav">Soluzioni</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="three-level">
      <li><a href="http://www.mathworks.it/solutions/?s_cid=global_nav">Funzionalità</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column one-column">
              <div class="column">
                <h2><a href="http://www.mathworks.it/technical-computing/?s_cid=global_nav">Calcolo tecnico</a></h2>
                <ul>
                  <li><a href="http://www.mathworks.it/data-acquisition/?s_cid=global_nav">Acquisizione dei dati</a></li>
                  <li><a href="http://www.mathworks.it/data-analysis/?s_cid=global_nav">Analisi dei dati</a></li>
                  <li><a href="http://www.mathworks.it/mathematical-modeling/?s_cid=global_nav">Modellazione matematica</a></li>
                  <li><a href="http://www.mathworks.it/algorithm-development/?s_cid=global_nav">Sviluppo di algoritmi</a></li>
                  <li><a href="http://www.mathworks.it/parallel-computing/?s_cid=global_nav">Calcolo parallelo</a></li>
                  <li><a href="http://www.mathworks.it/desktop-web-deployment/?s_cid=global_nav">Distribuzione su desktop e via Web</a></li>
                </ul>
                <h2><a href="http://www.mathworks.it/model-based-design/?s_cid=global_nav">Simulazione e progettazione model-based</a></h2>
                <ul>
                  <li><a href="http://www.mathworks.it/system-design-simulation/?s_cid=global_nav">Progettazione e simulazione di sistemi</a></li>
                  <li><a href="http://www.mathworks.it/physical-modeling/?s_cid=global_nav">Modellazione fisica</a></li>
                  <li><a href="http://www.mathworks.it/discrete-event-simulation/?s_cid=global_nav">Simulazione ad eventi discreti</a></li>
                  <li><a href="http://www.mathworks.it/rapid-prototyping/?s_cid=global_nav">Prototipazione rapida</a></li>
                  <li><a href="http://www.mathworks.it/embedded-code-generation/?s_cid=global_nav">Generazione di codice embedded</a></li>
                  <li><a href="http://www.mathworks.it/hdl-code-generation-verification/?s_cid=global_nav">Generazione e verifica di codice HDL</a></li>
                  <li><a href="http://www.mathworks.it/verification-validation/?s_cid=global_nav">Verifica, convalida e test</a></li>
                </ul>
              </div>
            </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      <li><a href="http://www.mathworks.it/solutions/?s_cid=global_nav">Applicazioni</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column one-column">
              <div class="column">
                <ul>
                  <li><a href="http://www.mathworks.it/embedded-systems/?s_cid=global_nav">Sistemi embedded</a></li>
                  <li><a href="http://www.mathworks.it/control-systems/?s_cid=global_nav">Sistemi di controllo</a></li>
                  <li><a href="http://www.mathworks.it/dsp/?s_cid=global_nav">Elaborazione segnali digitali</a></li>
                  <li><a href="http://www.mathworks.it/communications-systems/?s_cid=global_nav">Sistemi di comunicazione</a></li>
                  <li><a href="http://www.mathworks.it/image-video-processing/?s_cid=global_nav">Elaborazione immagini e video</a></li>
                  <li><a href="http://www.mathworks.it/fpga-design/?s_cid=global_nav">Progettazione FPGA</a></li>
                  <li><a href="http://www.mathworks.it/mechatronics/?s_cid=global_nav">Meccatronica</a></li>
                  <li><a href="http://www.mathworks.it/test-measurement/?s_cid=global_nav">Test and Measurement</a></li>
                  <li><a href="http://www.mathworks.it/computational-biology/?s_cid=global_nav">Biologia computazionale</a></li>
                  <li><a href="http://www.mathworks.it/computational-finance/?s_cid=global_nav">Computational Finance</a></li>
                </ul>
              </div>
            </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
      <li><a href="http://www.mathworks.it/solutions/?s_cid=global_nav">Settori industriali</a>
        <!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul class="third-tier">
          <li>
            <div class="multi-column one-column">
              <div class="column">
                <ul>
                  <li><a href="http://www.mathworks.it/aerospace-defense/?s_cid=global_nav">Aerospazio e difesa</a></li>
                  <li><a href="http://www.mathworks.it/automotive/?s_cid=global_nav">Automotive</a></li>
                  <li><a href="http://www.mathworks.it/biotech-pharmaceutical/?s_cid=global_nav">Biotecnologia e farmaceutica</a></li>
                  <li><a href="http://www.mathworks.it/communications/?s_cid=global_nav">Comunicazioni</a></li>
                  <li><a href="http://www.mathworks.it/electronics-semiconductors/?s_cid=global_nav">Elettronica e semiconduttori</a></li>
                  <li><a href="http://www.mathworks.it/energy-production/?s_cid=global_nav">Produzione di energia</a></li>
                  <li><a href="http://www.mathworks.it/financial-services/?s_cid=global_nav">Servizi finanziari</a></li>
                  <li><a href="http://www.mathworks.it/industrial-automation-machinery/?s_cid=global_nav">Automazione industriale e macchinari</a></li>
                  <li><a href="http://www.mathworks.it/industries/other/?s_cid=global_nav">Altri settori</a></li>
                </ul>
              </div>
            </div>
          </li>
        </ul>
        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
  <li><a href="http://www.mathworks.it/academia/?s_cid=global_nav">Università</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="two-level">
      <li>
        <div class="multi-column three-column">
          <div class="column">
            <h2>Apprendimento</h2>
            <ul>
              <li><a href="http://www.mathworks.it/academia/student-competitions/?s_cid=global_nav">Competizioni Studentesche</a></li>
              <li><a href="http://www.mathworks.it/academia/student_center/tutorials/?s_cid=global_nav">Tutorial interattivi</a></li>
              <li><a href="http://www.mathworks.it/support/books/index_by_categorytitle.html?s_cid=global_nav">Manuali di avvio rapido</a></li>
              <li><a href="http://www.mathworks.it/academia/student_version/?s_cid=global_nav">MATLAB &amp; Simulink Student Version</a></li>
            </ul>
          </div>
          <div class="column">
            <h2>Insegnamento</h2>
            <ul>
              <li><a href="http://www.mathworks.it/academia/classroom-resources/?s_cid=global_nav">Risorse Didattiche</a></li>
              <li><a href="http://www.mathworks.it/academia/hardware-resources/?s_cid=global_nav">Hardware per lo svolgimento dei progetti</a></li>
              <li><a href="http://www.mathworks.it/support/books/?s_cid=global_nav">manuali basati su MATLAB e Simulink</a></li>
              <li><a href="http://www.mathworks.it/moler/?s_cid=global_nav">Manuali di Cleve Moler</a></li>
              <li><a href="http://www.mathworks.it/academia/webinars/?s_cid=global_nav">Webinar per l'ambito accademico</a></li>
              <li><a href="http://www.mathworks.it/academia/matlab-examples/?s_cid=global_nav">Examples published with MATLAB</a></li>
              <li><a href="http://www.mathworks.it/programs/academia/eval.html?s_cid=global_nav">Valutazione della Student Version per istruttori</a></li>
                  <li><a href="http://www.mathworks.it/academia/highschool/?s_cid=global_nav">Software per istituti secondari</a></li>
            </ul>
          </div>
          <div class="column">
            <h2>Ricerca</h2>
            <ul>
              <li><a href="http://www.mathworks.it/products/?s_cid=global_nav">Aree applicative</a></li>
              <li><a href="http://www.mathworks.it/company/newsletters/?s_cid=global_nav">Newsletter</a></li>
              <li><a href="http://www.mathworks.it/academia/academic-articles/?s_cid=global_nav">Articles Techniques</a></li>
              <li><a href="http://www.mathworks.it/academia/faculty_center/userstories.html?s_cid=global_nav">Casi utente</a></li>
              <li><a href="http://www.mathworks.it/support/books/join.html?s_cid=global_nav">Programma di manualistica per autori</a></li>
            </ul>
          </div>
        </div>
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
  <li><a href="http://www.mathworks.it/support/?s_cid=global_nav">Assistenza</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="two-level">
      <li>
        <div class="multi-column one-column">
          <div class="column">
            <ul>
              <li><a href="http://www.mathworks.it/help/?s_cid=global_nav">Documentazione</a></li>
              <li><a href="http://www.mathworks.it/downloads/web_downloads/?s_cid=global_nav">Download</a></li>
              <li><a href="http://www.mathworks.it/accesslogin/myAccount.do?s_cid=global_nav">Account personale</a></li>
              <li><a href="http://www.mathworks.it/support/install.html?s_cid=global_nav">Assistenza per l'installazione</a></li>
              <li><a href="http://www.mathworks.it/support/?s_cid=global_nav">Assistenza di prodotto</a></li>
            </ul>
          </div>
        </div>
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
  <li><a href="http://www.mathworks.it/matlabcentral/?s_cid=global_nav">User Community</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="two-level">
      <li>
        <div class="multi-column two-column">
          <div class="column">
            <ul>
              <li><a href="http://www.mathworks.it/matlabcentral/fileexchange/?s_cid=global_nav">Scambio file</a></li>
              <li><a href="http://www.mathworks.it/matlabcentral/answers/?s_cid=global_nav">MATLAB Answers</a></li>
              <li><a href="http://www.mathworks.it/matlabcentral/newsreader/?s_cid=global_nav">Newsgroup MATLAB</a></li>
              <li><a href="http://www.mathworks.it/matlabcentral/linkexchange/?s_cid=global_nav">Scambio link</a></li>
              <li><a href="http://www.mathworks.it/matlabcentral/contest/?s_cid=global_nav">Contest</a></li>
            </ul>
          </div>
          <div class="column">
            <h2><a href="http://blogs.mathworks.com/?s_cid=global_nav">Blog</a></h2>
            <ul>
              <li><a href="http://blogs.mathworks.com/loren/?s_cid=global_nav">Loren discute l’arte di MATLAB</a></li>
              <li><a href="http://blogs.mathworks.com/seth/?s_cid=global_nav">Guy e Seth parlano di Simulink</a></li>
              <li><a href="http://blogs.mathworks.com/steve/?s_cid=global_nav">Steve e l'elaborazione immagini</a></li>
              <li><a href="http://blogs.mathworks.com/desktop/?s_cid=global_nav">Mike parla del desktop MATLAB</a></li>
              <li><a href="http://blogs.mathworks.com/videos/?s_cid=global_nav">Esercitazioni video MATLAB di Doug</a></li>
              <li><a href="http://blogs.mathworks.com/pick/?s_cid=global_nav">Scambio file - Scelta della settimana</a></li>
            </ul>
          </div>
        </div>
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
   <li><a href="http://www.mathworks.it/company/events/?s_cid=global_nav">Eventi</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="two-level">
      <li>
        <div class="multi-column one-column">
          <div class="column">
            <ul>
              <li><a href="http://www.mathworks.it/company/events/webinars/upcoming.html?s_cid=global_nav">Webinars</a></li>
              <li><a href="http://www.mathworks.it/company/events/seminars/?s_cid=global_nav">Seminari</a></li>
              <li><a href="http://www.mathworks.it/company/events/conferences/?s_cid=global_nav">Conferenze</a></li>
              <li><a href="http://www.mathworks.it/company/events/tradeshows/?s_cid=global_nav">Fiere</a></li>
            </ul>
          </div>
        </div>
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
  <li><a href="http://www.mathworks.it/company/?s_cid=global_nav">La società</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="two-level">
      <li>
        <div class="multi-column one-column">
          <div class="column">
            <ul>
              <li><a href="http://www.mathworks.it/company/?s_cid=global_nav">Informazioni su MathWorks</a></li>
              <li><a href="http://www.mathworks.it/company/jobs/?s_cid=global_nav">Offerte di lavoro</a></li>
              <li><a href="http://www.mathworks.it/company/aboutus/soc_mission/?s_cid=global_nav">Missione sociale</a></li>
              <li><a href="http://www.mathworks.it/company/pressroom/?s_cid=global_nav">Sala stampa</a></li>
              <li><a href="http://www.mathworks.it/company/newsletters/?s_cid=global_nav">Newsletter</a></li>
              <li><a href="http://www.mathworks.it/company/user_stories/?s_cid=global_nav">Casi utente</a></li>
            </ul>
          </div>
        </div>
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
</ul>
<!--JF: The above was included for the CSS dropdown addition --><div class="frameless_top" id="frameless_top">
<script type="text/javascript" language="JavaScript1.3">
    // Determine if it is IE and Version
    msieIndex = navigator.appVersion.indexOf("MSIE") + 5;
    index = navigator.appVersion.substr(msieIndex,3);
    index = parseFloat (index);
    if ((navigator.appName == "Microsoft Internet Explorer") && (index < 6 ) && navigator.platform == "Win32" ) {
		
        document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/ie4_5.css\" type=\"text/css\">");
        brows = "IE 5.5<";
        //alert ("you are IE 5.5 and DOWN on windows, you have the body td bug, and everyone in the world has you. You get Percentages!" + index);
    } else if ((navigator.appName == "Microsoft Internet Explorer") && (index >= 6 ) && navigator.platform == "Win32" ) {
		
		document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/ie6_up.css\" type=\"text/css\">");
        brows = "IE 6>";
    // alert ("you are IE 6 and UP on windows, you are in Standards Mode DTD and everyone in the world has you. You get Percentages with EM's!" + index);
    } else if (document.layers) {
		
        document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/nn_4.css\" type=\"text/css\">");
        brows = "NN4<";
        //alert ("you are Netscape 4 - you get points!" + index);
    } else {
		
        document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/dom.css\" type=\"text/css\">");
        brows = "DOM";
        //alert ("you are DOM or Mac, or Netscape 4 or up or some other thing I dont know - you get pixels!" + index);
    } // end if
    
	document.write("<link rel=\"stylesheet\" href=\"/includes_content/css/site4.css\" type=\"text/css\">");
  // document.write("<span style=\"position: absolute; color:gray\" class=\"small\">" + brows + "<\/span>");
</script><link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/dom.css" type="text/css"><link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/site4.css" type="text/css">
<!--Do the switching based on country here -->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/intl_topnav_data/english.js"></script-->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/topnav.js"></script-->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/leftnav.js"></script-->
<!--script type="text/javascript" language="JavaScript1.3" src="/redesign/jscript/common.js"></script--><link rel="stylesheet" href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/breadcrumbs.css" type="text/css">



<!-- JF: Below Added for country dropdown -->
<script type="text/javascript" language="JavaScript1.3">var host_pre = "http://www";</script>
<script type="text/javascript" language="JavaScript1.3">var request_path = "%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html";</script>
<script type="text/javascript" language="JavaScript1.3" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/popup_menus.js"></script>
<script type="text/javascript" language="JavaScript1.3" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/global_nav_it_IT.js"></script>
<!--JF: Above Added for country dropdown -->

<script type="text/javascript" language="JavaScript1.3" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/common.js"></script>


<script type="text/javascript" language="JavaScript1.3">
function determineURL(arg)
{
if(parent.location.href.indexOf("?/access") != -1)
	parent.location="/" + arg + "/?s_cid=" + arg;
else
	parent.location="/" + arg + "/";
}
</script>





<style type="text/css">




/* JF: Added below for NextGen top nav styles, including country dropdown compatibility */


#globaltop2 {width:100%; _height:46px!important; _overflow:hidden;}
#globaltop2 { background:url(/includes_content/nextgen/images/pic_header_logo.jpg) no-repeat scroll left top #fff!important; margin-bottom:10px; height:50px; border:none;display:block; clear:both;}
#ptools2 {
float:right;
height:3ex;
margin:0.5em;
margin-top:12px;
font-weight:normal;
font-size:10px;
white-space:nowrap;
color:#7c7c7c;
margin:6px 0.5em 0.25em;
}

#ptools2 label {
	display:none;
}

#access2 {
	color:#7c7c7c;
	font-weight:normal;
	margin-top:-3px !important;
	_margin-top:-6px !important;

	/*JF: Added for frameless doc support*/ 	
}


#access2 a {padding-left:3px; padding-right:4px;}
#searchbutton { background-color:none; border:none; font-family:Verdana; font-size:0px; background:url(/includes_content/nextgen/images/bg_search_submit.gif) no-repeat 3px 0px; /*JF: Added for framed doc support*/ 	*background:url(/includes_content/nextgen/images/bg_search_submit.gif) no-repeat 3px 5px; _background:url(/includes_content/nextgen/images/bg_search_submit.gif) no-repeat 3px 1px; /*JF: Added for framed doc support*/ height:24px; width:22px; padding-top:2px; _height:20px; overflow:hidden; _width:22px; _padding-left:100px }
#search_field {
margin-left:10px;
width:120px;
}
table#topnav {
background-color:#FFFFFF;
border-bottom:0px;
border-left:medium none;
border-right:medium none;
cursor:pointer;
display:block;
margin-bottom:3px;
margin-left:0px;
padding:0px;
width:auto !important;
}
table#topnav td, table#topnav tr {
	vertical-align:bottom;
	background-color:#ffffff;
	background-image:none;
	_border-bottom:1px solid #ffffff;
}
#ptools2 a, #access2 a {
color:#1760b6;
text-decoration:none;
font-weight:normal;
font-family:Arial,Helvetica,sans-serif;
}
#ptools2 a:hover, #globaltop2 a:hover, #access2 a:hover {
color:#1760b6 !important;
text-decoration:underline !important;
}

#WorldwideGlobal a {font-weight:normal; color:#005FCE} 
#WorldwideGlobal a:visited {font-weight:normal; color:#4C8FDD}


#ptools2 a:visited, #access2 a:visited   {

font-weight:normal;
font-family:Arial,Helvetica,sans-serif;
}
#topnav a {
	color:#2354a1;
	font-family:Arial,Helvetica,sans-serif;
}
#topnav img {
	display:none;
}
#topnavitems td {
border-right:none;
color:#003366;
padding:0px;
text-align:center;
vertical-align:middle;
}
#topnavitems td a {
	display:block;
	padding:3px 12px;
	font-family:Arial,Helvetica,sans-serif;
	
}
#topnav tr#topnavitems td.activebg {
background-color:#fff;
}

#topnav td.activebg {
background-color:#ffffff;
}
#pic_cart {display:none;}


#logopixel {
	margin-top:11px; 
	margin-left:0px;
	height:40px!important;}
.img_right {
float:right;
margin-left:10px;
margin-top:-20px;
}
#topnav {

width: 100%;
}
#country_arrow {transparency:100%}
#nextgen_banner { background:#004495 url(/images/nextgen/global/bg_banner_wide.jpg) no-repeat; height:30px; width:100%; margin-top:35px; }
  body { width: 100% }

.countrynav_container {z-index:100; float:left;margin-top:3px;}
.countrynav_container ul {list-style-type: none; list-style-image: none;}
#countrynav li { background: url(/includes/images/global_nav/pic_countryarrow_off.gif) no-repeat scroll right 3px transparent;}
#countrynav li.countrynav_select a { padding:2px 10px 4px 19px; margin:-1px 0px 0px 0px; color:#1760B6; font-size:0.95em; text-align:right; text-decoration:none; background:transparent url(/images/nextgen/global/ico_globe.png) no-repeat 0 -1px; display:block;width:auto; }

#countrynav li.countrynav_select ul { width:134px; margin:-18px 0px 0px 92px; padding:0px; background:#f2f4f8; border:1px solid #254987; position:absolute; left:-9999px; z-index:101; }
#countrynav li.countrynav_select ul li { padding:0px; margin:0px; font-size:1.2em; background:none; text-align:left; }
#countrynav li.countrynav_select ul li a { width:124px; padding:4px 5px; _padding:2px 5px; margin:0px; text-align:left; color:#1760B6; background:none; border-top:1px solid #f2f4f8; border-bottom:1px solid #f2f4f8; display:block; }
#countrynav li.countrynav_select ul li a:hover { color:#1760B6; background-color:#e3e7f7; border-top:1px solid #808080; border-bottom:1px solid #808080; }
#countrynav li:hover ul { left:auto; }
#countrynav li:hover ul, #countrynav li.sfhover ul { left:auto; }

  /*JF: Added below for weird spacing on .co.jp ptools form */
  
   /*JF: Added above for weird spacing on .co.jp ptools form */
  
  
  /* JF: Added above for NextGen top nav styles, including country dropdown compatibility */
  
</style>

	<style>
	#ptools2 #countrynav li.countrynav_select ul {
  	margin-left:54px;
	}
	</style>



<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#content" tabindex="1"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/pixelclear.gif" width="1" height="1" border="0" alt="Skip to Main Content" id="content_skiplink"></a>
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#searchskip" tabindex="2"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/pixelclear.gif" width="1" height="1" border="0" alt="Skip to Search" id="search_skiplink"></a>
<div id="globaltop2">

<a href="http://www.mathworks.it/" target="_top"><img id="logopixel" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/pixelclear.gif" width="230" height="60" alt=""></a>



<div id="ptools2">
<div class="countrynav_container">
          <ul id="countrynav" class="rollover_delay inactive_state">
            <li class="countrynav_select"><a href="http://www.mathworks.it/company/worldwide/">Italia</a>
              <ul>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.com" onclick="addOmnitureCode(&#39;com&#39;)">United States</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.com" onclick="addOmnitureCode(&#39;com&#39;)">Canada</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.com.au" onclick="addOmnitureCode(&#39;au&#39;)">Australia</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.de" onclick="addOmnitureCode(&#39;de&#39;)">Österreich</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.nl" onclick="addOmnitureCode(&#39;nl&#39;)">Belgium</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.cn" onclick="addOmnitureCode(&#39;cn&#39;)">中国</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.se" onclick="addOmnitureCode(&#39;se&#39;)">Denmark</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.se" onclick="addOmnitureCode(&#39;se&#39;)">Finland</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.fr" onclick="addOmnitureCode(&#39;fr&#39;)">France</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.de" onclick="addOmnitureCode(&#39;de&#39;)">Deutschland</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.in" onclick="addOmnitureCode(&#39;in&#39;)">India</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.co.uk" onclick="addOmnitureCode(&#39;uk&#39;)">Ireland</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.it" onclick="addOmnitureCode(&#39;it&#39;)">Italia</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.co.jp" onclick="addOmnitureCode(&#39;jp&#39;)">日本</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.co.kr" onclick="addOmnitureCode(&#39;kr&#39;)">한국</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.nl" onclick="addOmnitureCode(&#39;nl&#39;)">Luxembourg</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.nl" onclick="addOmnitureCode(&#39;nl&#39;)">Netherlands</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.se" onclick="addOmnitureCode(&#39;se&#39;)">Norway</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.com" onclick="addOmnitureCode(&#39;com&#39;)">Portugal</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.es" onclick="addOmnitureCode(&#39;es&#39;)">España</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.se" onclick="addOmnitureCode(&#39;se&#39;)">Sweden</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.ch" onclick="addOmnitureCode(&#39;ch&#39;)">Schweiz / Suisse</a></li>
                    <li><a href="http://www.mathworks.it/includes_content/domainRedirect/country_select.html?uri=%2Fhelp%2Ftechdoc%2Fmatlab_external%2Ff6425.html&domain=mathworks.co.uk" onclick="addOmnitureCode(&#39;uk&#39;)">United Kingdom</a></li>
                    <li><a href="http://www.mathworks.it/company/worldwide/" onclick="addOmnitureCode(&#39;ww&#39;)">All Other Countries</a></li>
              </ul>
            </li>
          </ul>
</div>
&nbsp;|&nbsp;<a href="http://www.mathworks.it/company/aboutus/contact_us/" target="_top">&nbsp;Contatti&nbsp;</a>&nbsp;|&nbsp;<a href="http://www.mathworks.it/store/default.do?s_cid=store_top_nav" onmouseover="mouseover(this,document.getElementById(&#39;pic_cart&#39;), &#39;/includes/images/global_nav/pic_cart_on.gif&#39;)" target="_top">&nbsp;<img id="pic_cart" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/pic_cart_off.gif" align="middle" alt="Cart">&nbsp;Store&nbsp;</a><a name="searchskip"></a> <form name="search" id="site_search" class="site_search" action="http://www.mathworks.it/searchresults/" method="get">
<input type="hidden" name="c[]" value="entiresite">
<input type="text" name="q" id="query" class="textfield">
<input type="submit" id="searchbutton" value="Search" class="submit_go">
</form></div>
<img id="pixelfade" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/horo_line_full.gif" alt="">
<div id="access2">
	 	 <ul><li class="mwa-nav_account"><a href="http://www.mathworks.it/accesslogin/createProfile.do?uri=http://www.mathworks.it/help/techdoc/matlab_external/f6425.html" target="_top">Crea Account</a></li><li class="mwa-nav_login"><a href="https://www.mathworks.com/accesslogin/login.do?uri=http://www.mathworks.it/help/techdoc/matlab_external/f6425.html" target="_top">Entra</a></li></ul>
</div>

</div>


<!--JF: Removed table id="topnav" from this file to support CSS dropdown -->

<!-- Previous to Geck 694616 -->
<!--
<div id="nextgen_banner">&nbsp;</div>

<table id="breadcrumbtable" class="breadcrumbs" cellpadding="0" cellspacing="0" border="0" style="padding-top:3px;  margin-top:1px; clear:right;" align="right">
  <tr>
    <td align="right"><a href="/support/web_downloads_bounce.html?s_cid=1008_degr_docdn_270055" target="_parent"><img src="/includes_content/images/tryitbuyit/trial.gif" alt="" width="15" height="14"></a></td>
    <td style="padding-left:3px; padding-right:12px;" nowrap="nowrap"><a href="/support/web_downloads_bounce.html?s_cid=1008_degr_docdn_270055" target="_parent">Download Product Updates</a></td>
	<td>|&nbsp;&nbsp;</td>
    <td align="right"><a href="/company/aboutus/contact_us/contact_sales.html?ref=doc" target="_parent"><img src="/includes_content/images/tryitbuyit/email.gif" alt="" width="15" height="14"></a></td>
    <td style="padding-left:3px; padding-right:12px;" nowrap="nowrap"><a href="/company/aboutus/contact_us/req_quote.html?prodcode=ML&eventid=614190611&ref=doc" target="_parent">Get Pricing</a></td>
	<td>|&nbsp;&nbsp;</td>
    <td align="right"><a href="/programs/bounce/doc_tryit.html" target="_parent"><img src="/includes_content/images/tryitbuyit/trial.gif" alt="" width="15" height="14"></a></td>
    <td style="padding-left:2px; padding-right:12px;" nowrap="nowrap"><a href="/programs/bounce/doc_tryit.html" target="_parent">Trial Software</a></td>
  </tr>
</table>
-->

<!-- Post Geck 694616 -->
<style type="text/css">
@font-face { font-family:Futura-Light; src:url('/includes_content/nextgen/fonts/FuturaStd-Light.otf'); font-weight: normal; }
@font-face { font-family:Futura-Light; src:url('/includes_content/nextgen/fonts/FuturaStd-Medium.otf'); font-weight: bold; }

#nextgen_banner table { height:55px; }
#nextgen_banner td { padding:0px 0px 15px 20px; vertical-align:bottom; }

#nextgen_banner { height:55px; }
#nextgen_banner span.h1 { height:auto; padding-bottom:0px; margin:0px!important; font-family:Futura-Light, Arial, Helvetica, sans-serif; font-size:20px; line-height:100%; color:#fff; font-weight:bold; letter-spacing:.5px; background:none; }

.ctabox { padding:0px 0px 0px 12px !important; margin:0px 0px -15px 0px !important; font-size:1.0em; font-weight:bold; background-color:#1c2228; float:right; z-index:10; opacity:0.7; filter:alpha(opacity=70); }
.ctabox li { padding:0px; margin:0px; line-height:100%; background:none; float:left; }
.ctabox a { height:12px; padding:6px 12px 4px 18px; color:#fff; display:block; float:left; }
.ctabox a:visited { color:#fff; }

.rounded_corner { -moz-border-radius: 5px 0 0 0; border: 1px solid #1E232B; }

.ctabox a.trial { background:transparent url(/images/nextgen/global/ico_download.png) no-repeat 0px 4px; }
.ctabox a.update { background:transparent url(/images/nextgen/global/ico_download.png) no-repeat 0px 4px; }
.ctabox a.quote { padding-left:20px; background:transparent url(/images/nextgen/global/ico_quote.png) no-repeat 0px 3px; }
</style>
<!--[if IE 6]>
<style type="text/css">
.ctabox a.trial { background:transparent url(/images/nextgen/global/ico_download.gif) no-repeat 0px 4px; }
.ctabox a.update { background:transparent url(/images/nextgen/global/ico_download.gif) no-repeat 0px 4px; }
.ctabox a.quote { padding-left:20px; background:transparent url(/images/nextgen/global/ico_ctablock_quote.gif) no-repeat 0px 3px; }
</style>
<![endif]-->

<div id="nextgen_banner">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
  	<td><span class="h1">Product Documentation</span></td>
    <td class="ctabox_container">
		<ul class="ctabox rounded_corner">
	  		<li><a href="http://www.mathworks.it/programs/bounce/doc_tryit.html" target="_parent" class="trial">Trial Software</a></li>
	  		<li><a href="http://www.mathworks.it/support/web_downloads_bounce.html?s_cid=1008_degr_docdn_270055" target="_parent" class="update">Product Updates</a></li>
	  		<li><a href="http://www.mathworks.it/company/aboutus/contact_us/contact_sales.html?ref=doc" target="_parent" class="quote">Request a Quote</a></li>
		</ul>
    </td>
  </tr>
</tbody></table>
</div>
<!-- END - Post Geck 694616 -->


<!-- FOR OMNITURE -->
<script type="text/javascript" language="javascript">
linkarr = document.links;

if(parent.location.href.indexOf("?/access") != -1)
{
	for (j=0; j<=linkarr.length-1; j++)
	{
		qstr = "";
		url = linkarr[j].href;
		url_parts = url.split("/");

		for (k=0; k<=url_parts.length-1; k++)
		if(url_parts[k] == "")
			url_parts.splice(k,1);
		//alert(url_parts);
		if (url_parts.length == 2)
			qstr = qstr + "_homepage";
		else if (url_parts.length == 3)
			if(url_parts[2].indexOf("index.html") > -1)
				qstr = qstr + "_homepage";
			else
				qstr = qstr + "_" + url_parts[2];
		else
			for (u=url_parts.length-2; u<=url_parts.length-1; u++)
				if (url_parts[u] != "index.html")
					qstr = qstr + "_" + url_parts[u];

		oldqstrpos = qstr.indexOf("\?");
		if(oldqstrpos != -1)
			qstr = qstr.substr(0,oldqstrpos);
		qstr = qstr.replace(/\?/, "_");
		qstr = qstr.replace(/\.html/,"");
		if (url.indexOf("?") == -1)
			qstr = 	"?s_cid=docframe" + qstr;
		else
			qstr = "&s_cid=docframe" + qstr;
		url = url + qstr;
		linkarr[j].href = url;
	}
}
</script>












<a name="top_banner"></a>
<table id="breadcrumbtable" class="breadcrumbs2" border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td colspan="2">
<div class="docsearch_container">
<form id="docsearch_form" name="docsearch_form" method="get" action="http://www.mathworks.it/help/search/doc/en/R2011b">
<label for="docsearch" class="hidden">Search MATLAB Documentation</label>
<input type="text" name="qdoc" id="docsearch" class="textfield toggleval" autocomplete="off" value="Search R2011b Documentation">
<input type="submit" name="submitsearch" id="submitsearch" value="Search" class="docsearch_submit">
<script type="text/javascript">
   $("input[name='qdoc']").toggleVal({
      focusClass: "hasFocus"
   });
</script>
</form>
</div>
</td>
</tr>
<tr>
<td colspan="2"><a href="http://www.mathworks.it/help/index.html" target="_top">R2011b Documentation</a> → <a href="http://www.mathworks.it/help/techdoc/" target="_top">MATLAB</a></td>
</tr>
<tr>
<td><p><a href="http://www.mathworks.it/help/doc-archives.html" class="otherrellnk">View documentation for other releases</a></p></td>
<td align="right"><p>&nbsp; <span class="learnmoreabout">Learn more about <a href="http://www.mathworks.it/products/matlab/" class="learnmorelink">MATLAB</a></span></p></td>
</tr>
</tbody></table>

      </div>
<div class="frameless_toc_header" id="frameless_toc_header"><table id="navlinks" cellspacing="0" cellpadding="0" border="0" width="90%">
<tbody>
<tr id="navlinkitems" class="navfrm">
<td id="navitemcontents" onclick="load_index(this);" onmouseout="topNavHoverOff(this.id)" onmouseover="topNavHover(this.id)" align="center" width="50%" class="activebg">
Contents
</td>
<td id="navitemindex" onclick="load_index(this);" onmouseout="topNavHoverOff(this.id)" onmouseover="topNavHover(this.id)" align="center" width="50%">
Index
</td>
</tr>
</tbody>
</table>
</div>

      <div class="frameless_contents" id="frameless_contents" style="height: 584px; ">
<!-- =================== START OF TOC MATERIAL =================== -->
<div id="navbody" class="toc_container">
<p class="toc_item_lvl_1_nonempty" id="tocitem_1"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/learn_matlab/bqr_2pl.html" onclick="registerlastclicked(&#39;tocitem_1&#39;);toggletoc(&#39;tocsect_1&#39;);">Getting Started</a></p>

<p class="toc_item_lvl_1_nonempty" id="tocitem_188"><span>▼&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_product_page.html" onclick="registerlastclicked(&#39;tocitem_188&#39;);toggletoc(&#39;tocsect_188&#39;);">User's Guide</a></p>

<div class="toc_section_lvl_2" id="tocsect_188" style="display: block; ">

<p class="toc_item_lvl_2_nonempty" id="tocitem_189"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_env/bqrf3v_.html" onclick="registerlastclicked(&#39;tocitem_189&#39;);toggletoc(&#39;tocsect_189&#39;);">Desktop Tools and Development Environment</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_705"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/import_export/ug_intropage.html" onclick="registerlastclicked(&#39;tocitem_705&#39;);toggletoc(&#39;tocsect_705&#39;);">Data Import and Export</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_846"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/math/bqqz59g.html" onclick="registerlastclicked(&#39;tocitem_846&#39;);toggletoc(&#39;tocsect_846&#39;);">Mathematics</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_1102"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/data_analysis/ug_intropage.html" onclick="registerlastclicked(&#39;tocitem_1102&#39;);toggletoc(&#39;tocsect_1102&#39;);">Data Analysis</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_1182"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_prog/bqjgwp9.html" onclick="registerlastclicked(&#39;tocitem_1182&#39;);toggletoc(&#39;tocsect_1182&#39;);">Programming Fundamentals</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_1713"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_oop/ug_intropage.html" onclick="registerlastclicked(&#39;tocitem_1713&#39;);toggletoc(&#39;tocsect_1713&#39;);">Object-Oriented Programming</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_2174"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/creating_plots/bqrw9tj.html" onclick="registerlastclicked(&#39;tocitem_2174&#39;);toggletoc(&#39;tocsect_2174&#39;);">Graphics</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_2623"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/visualize/bqliccy.html" onclick="registerlastclicked(&#39;tocitem_2623&#39;);toggletoc(&#39;tocsect_2623&#39;);">3-D Visualization</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_2805"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/creating_guis/bqz79mu.html" onclick="registerlastclicked(&#39;tocitem_2805&#39;);toggletoc(&#39;tocsect_2805&#39;);">Creating Graphical User Interfaces</a></p>

<p class="toc_item_lvl_2_empty" id="tocitem_3137">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/infotool/hgprop/doc_frame.html" onclick="registerlastclicked(&#39;tocitem_3137&#39;);">Handle Graphics Property Browser</a></p>

<p class="toc_item_lvl_2_nonempty" id="tocitem_3138"><span>▼&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/bp_kqh7.html" onclick="registerlastclicked(&#39;tocitem_3138&#39;);toggletoc(&#39;tocsect_3138&#39;);">External Interfaces</a></p>

<div class="toc_section_lvl_3" id="tocsect_3138" style="display: block; ">

<p class="toc_item_lvl_3_nonempty" id="tocitem_3139"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f30937.html" onclick="registerlastclicked(&#39;tocitem_3139&#39;);toggletoc(&#39;tocsect_3139&#39;);">Read and Write MATLAB MAT-Files in C/C++ and Fortran</a></p>

<p class="toc_item_lvl_3_nonempty" id="tocitem_3169"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f23224dfi7.html" onclick="registerlastclicked(&#39;tocitem_3169&#39;);toggletoc(&#39;tocsect_3169&#39;);">Calling C Shared Library Functions from MATLAB</a></p>

<p class="toc_item_lvl_3_nonempty" id="tocitem_3204"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f23224.html" onclick="registerlastclicked(&#39;tocitem_3204&#39;);toggletoc(&#39;tocsect_3204&#39;);">Creating C/C++ and Fortran Programs to be Callable from MATLAB (MEX-Files)</a></p>

<p class="toc_item_lvl_3_nonempty" id="tocitem_3257"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f7667.html" onclick="registerlastclicked(&#39;tocitem_3257&#39;);toggletoc(&#39;tocsect_3257&#39;);">Creating C/C++ Language MEX-Files</a></p>

<p class="toc_item_lvl_3_nonempty" id="tocitem_3302"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f7667dfi1.html" onclick="registerlastclicked(&#39;tocitem_3302&#39;);toggletoc(&#39;tocsect_3302&#39;);">Creating Fortran MEX-Files</a></p>

<p class="toc_item_lvl_3_nonempty" id="tocitem_3332"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f38569.html" onclick="registerlastclicked(&#39;tocitem_3332&#39;);toggletoc(&#39;tocsect_3332&#39;);">Calling MATLAB Engine from C/C++ and Fortran Programs</a></p>

<p class="toc_item_lvl_3_nonempty" id="tocitem_3356"><span>▼&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f44062.html" onclick="registerlastclicked(&#39;tocitem_3356&#39;);toggletoc(&#39;tocsect_3356&#39;);">Using Java Libraries from MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3356" style="display: block; ">

<p class="toc_item_lvl_4_nonempty" id="tocitem_3357"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f98533.html" onclick="registerlastclicked(&#39;tocitem_3357&#39;);toggletoc(&#39;tocsect_3357&#39;);">Product Overview</a></p>

<p class="toc_item_lvl_4_nonempty" id="tocitem_3364"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f4863.html" onclick="registerlastclicked(&#39;tocitem_3364&#39;);toggletoc(&#39;tocsect_3364&#39;);">Bringing Java Classes and Methods into MATLAB Workspace</a></p>

<p class="toc_item_lvl_4_nonempty" id="tocitem_3374"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f4873.html" onclick="registerlastclicked(&#39;tocitem_3374&#39;);toggletoc(&#39;tocsect_3374&#39;);">Creating and Using Java Objects</a></p>

<p class="toc_item_lvl_4_nonempty" id="tocitem_3382"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f46719.html" onclick="registerlastclicked(&#39;tocitem_3382&#39;);toggletoc(&#39;tocsect_3382&#39;);">Invoking Methods on Java Objects</a></p>

<p class="toc_item_lvl_4_nonempty" id="tocitem_3390"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f15351.html" onclick="registerlastclicked(&#39;tocitem_3390&#39;);toggletoc(&#39;tocsect_3390&#39;);">Working with Java Arrays</a></p>

<p class="toc_item_lvl_4_nonempty" id="tocitem_3399"><span>▼&nbsp;</span><a href="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/Passing Data to a Java Method  Using Java Libraries from MATLAB.htm" onclick="registerlastclicked(&#39;tocitem_3399&#39;);toggletoc(&#39;tocsect_3399&#39;);" style="background-color: rgb(215, 215, 215); ">Passing Data to a Java Method</a></p>

<div class="toc_section_lvl_5" id="tocsect_3399" style="display: block; ">

<p class="toc_item_lvl_5_empty" id="tocitem_3400">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f47917" onclick="registerlastclicked(&#39;tocitem_3400&#39;);">Introduction</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3401">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#bq__5xw-1" onclick="registerlastclicked(&#39;tocitem_3401&#39;);">Conversion of MATLAB Argument Data</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3402">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61465" onclick="registerlastclicked(&#39;tocitem_3402&#39;);">Passing Built-In Types</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3403">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f60475" onclick="registerlastclicked(&#39;tocitem_3403&#39;);">Passing String Arguments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3404">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61738" onclick="registerlastclicked(&#39;tocitem_3404&#39;);">Passing Java Objects</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3405">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f58930" onclick="registerlastclicked(&#39;tocitem_3405&#39;);">Other Data Conversion Topics</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3406">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f48789" onclick="registerlastclicked(&#39;tocitem_3406&#39;);">Passing Data to Overloaded Methods</a></p>

</div>
<p class="toc_item_lvl_4_nonempty" id="tocitem_3407"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html" onclick="registerlastclicked(&#39;tocitem_3407&#39;);toggletoc(&#39;tocsect_3407&#39;);">Handling Data Returned from a Java Method</a></p>

<div class="toc_section_lvl_5" id="tocsect_3407">

<p class="toc_item_lvl_5_empty" id="tocitem_3408">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html#f79172" onclick="registerlastclicked(&#39;tocitem_3408&#39;);">Introduction</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3409">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html#bq__508-1" onclick="registerlastclicked(&#39;tocitem_3409&#39;);">Conversion of Java Return Types</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3410">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html#f62449" onclick="registerlastclicked(&#39;tocitem_3410&#39;);">Built-In Types</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3411">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html#f61197" onclick="registerlastclicked(&#39;tocitem_3411&#39;);">Java Objects</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3412">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html#f61057" onclick="registerlastclicked(&#39;tocitem_3412&#39;);">Converting Objects to MATLAB Types</a></p>

</div>
<p class="toc_item_lvl_4_empty" id="tocitem_3413">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f20700.html" onclick="registerlastclicked(&#39;tocitem_3413&#39;);">Introduction to Programming Examples</a></p>

<p class="toc_item_lvl_4_nonempty" id="tocitem_3414"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f16555.html" onclick="registerlastclicked(&#39;tocitem_3414&#39;);toggletoc(&#39;tocsect_3414&#39;);">Example - Reading a URL</a></p>

<div class="toc_section_lvl_5" id="tocsect_3414">

<p class="toc_item_lvl_5_empty" id="tocitem_3415">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f16555.html#f9545" onclick="registerlastclicked(&#39;tocitem_3415&#39;);">Overview</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3416">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f16555.html#bq__53d-1" onclick="registerlastclicked(&#39;tocitem_3416&#39;);">Description of URLdemo</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3417">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f16555.html#f10774" onclick="registerlastclicked(&#39;tocitem_3417&#39;);">Running the Example</a></p>

</div>
<p class="toc_item_lvl_4_nonempty" id="tocitem_3418"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f16868.html" onclick="registerlastclicked(&#39;tocitem_3418&#39;);toggletoc(&#39;tocsect_3418&#39;);">Example - Finding an Internet Protocol Address</a></p>

<div class="toc_section_lvl_5" id="tocsect_3418">

<p class="toc_item_lvl_5_empty" id="tocitem_3419">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f16868.html#f27814" onclick="registerlastclicked(&#39;tocitem_3419&#39;);">Overview</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3420">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f16868.html#bq__537-1" onclick="registerlastclicked(&#39;tocitem_3420&#39;);">Description of resolveip</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3421">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f16868.html#f21033" onclick="registerlastclicked(&#39;tocitem_3421&#39;);">Running the Example</a></p>

</div>
<p class="toc_item_lvl_4_nonempty" id="tocitem_3422"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html" onclick="registerlastclicked(&#39;tocitem_3422&#39;);toggletoc(&#39;tocsect_3422&#39;);">Example - Creating and Using a Phone Book</a></p>

<div class="toc_section_lvl_5" id="tocsect_3422">

<p class="toc_item_lvl_5_empty" id="tocitem_3423">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f18086" onclick="registerlastclicked(&#39;tocitem_3423&#39;);">Overview</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3424">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#bq__56n-1" onclick="registerlastclicked(&#39;tocitem_3424&#39;);">Description of Function phonebook</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3425">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f20112" onclick="registerlastclicked(&#39;tocitem_3425&#39;);">Description of Function pb_lookup</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3426">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f20276" onclick="registerlastclicked(&#39;tocitem_3426&#39;);">Description of Function pb_add</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3427">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f20405" onclick="registerlastclicked(&#39;tocitem_3427&#39;);">Description of Function pb_remove</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3428">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f20493" onclick="registerlastclicked(&#39;tocitem_3428&#39;);">Description of Function pb_change</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3429">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f26586" onclick="registerlastclicked(&#39;tocitem_3429&#39;);">Description of Function pb_listall</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3430">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f20633" onclick="registerlastclicked(&#39;tocitem_3430&#39;);">Description of Function pb_display</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3431">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f20669" onclick="registerlastclicked(&#39;tocitem_3431&#39;);">Description of Function pb_keyfilter</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3432">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f18070.html#f25420" onclick="registerlastclicked(&#39;tocitem_3432&#39;);">Running the phonebook Program</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3433"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6.html" onclick="registerlastclicked(&#39;tocitem_3433&#39;);toggletoc(&#39;tocsect_3433&#39;);">Using .NET Libraries from MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3435">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpb573" onclick="registerlastclicked(&#39;tocitem_3435&#39;);">What Is the Microsoft .NET Framework?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3436">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpb58e-1" onclick="registerlastclicked(&#39;tocitem_3436&#39;);">Benefits of the MATLAB .NET Interface</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3437">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpcbs8-1" onclick="registerlastclicked(&#39;tocitem_3437&#39;);">Why Use the MATLAB .NET Interface?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3438">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpb58f-1" onclick="registerlastclicked(&#39;tocitem_3438&#39;);">Limitations to .NET Support</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3439">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpb58h-1" onclick="registerlastclicked(&#39;tocitem_3439&#39;);">What's the Difference Between the MATLAB .NET Interface and MATLAB Builder NE?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3440">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpb58i-1" onclick="registerlastclicked(&#39;tocitem_3440&#39;);">System Requirements</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3441">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brxqn9q-1" onclick="registerlastclicked(&#39;tocitem_3441&#39;);">Using a .NET assembly in MATLAB</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3442">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5k6-1.html#brpcaxs-1" onclick="registerlastclicked(&#39;tocitem_3442&#39;);">To Learn More About the .NET Framework</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3444">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpcay8-1.html#brtk57z-1" onclick="registerlastclicked(&#39;tocitem_3444&#39;);">What is an Assembly?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3445">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpcay8-1.html#brz_zan-1" onclick="registerlastclicked(&#39;tocitem_3445&#39;);">.NET Terminology</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3446">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpcay8-1.html#br0m9gc-1" onclick="registerlastclicked(&#39;tocitem_3446&#39;);">Simplifying .NET Class Names</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3447">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpcay8-1.html#brtk59p-1" onclick="registerlastclicked(&#39;tocitem_3447&#39;);">Loading .NET Assemblies into MATLAB</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3448">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpcay8-1.html#br2md2z-1" onclick="registerlastclicked(&#39;tocitem_3448&#39;);">Handling Exceptions</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3449">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpcay8-1.html#bsxjary-1" onclick="registerlastclicked(&#39;tocitem_3449&#39;);">Working With Nested Classes</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3451">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb58s-1.html#brpb5m_-1" onclick="registerlastclicked(&#39;tocitem_3451&#39;);">Creating a .NET Object</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3452">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb58s-1.html#brx3746-1" onclick="registerlastclicked(&#39;tocitem_3452&#39;);">Using netdoc.NetSample</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3453">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb58s-1.html#brzyr9t-1" onclick="registerlastclicked(&#39;tocitem_3453&#39;);">What Classes Are in a .NET Assembly?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3454">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb58s-1.html#bshoa6b-1" onclick="registerlastclicked(&#39;tocitem_3454&#39;);">Using the delete Function on a .NET Object</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3456">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxzo-1.html#bs16478" onclick="registerlastclicked(&#39;tocitem_3456&#39;);">How MATLAB Represents .NET Properties</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3457">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxzo-1.html#br0xcej-1" onclick="registerlastclicked(&#39;tocitem_3457&#39;);">How MATLAB Maps C# Property and Field Access Modifiers</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3459">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#brpca5n-1" onclick="registerlastclicked(&#39;tocitem_3459&#39;);">Calling .NET Methods</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3460">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#bscm6kj-1" onclick="registerlastclicked(&#39;tocitem_3460&#39;);">Call .NET Generic Methods</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3461">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#bs4ed7x" onclick="registerlastclicked(&#39;tocitem_3461&#39;);">Call .NET Methods with Optional Arguments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3462">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#bs4fwes" onclick="registerlastclicked(&#39;tocitem_3462&#39;);">Calling .NET Extension Methods</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3463">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#br0qx4t-1" onclick="registerlastclicked(&#39;tocitem_3463&#39;);">Call .NET Properties That Take an Argument</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3464">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#br2me_c-1" onclick="registerlastclicked(&#39;tocitem_3464&#39;);">How MATLAB Represents .NET Operators</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3465">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1hxyv.html#brztivn-1" onclick="registerlastclicked(&#39;tocitem_3465&#39;);">Limitations to Support of .NET Methods</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3467">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1h0mj.html#br02q5j-1" onclick="registerlastclicked(&#39;tocitem_3467&#39;);">Use .NET Events in MATLAB</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3468">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1h0mj.html#bs6khu4" onclick="registerlastclicked(&#39;tocitem_3468&#39;);">Limitations to Support of .NET Events</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3470">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5o9-1.html#brpb58w-1" onclick="registerlastclicked(&#39;tocitem_3470&#39;);">Passing Data to a .NET Object</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3471">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brpb5o9-1.html#brpb5qd-1" onclick="registerlastclicked(&#39;tocitem_3471&#39;);">Handling Data Returned from a .NET Object</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3473">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brxe1ww-1.html#brxe2h5" onclick="registerlastclicked(&#39;tocitem_3473&#39;);">Passing MATLAB Arrays to .NET</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3474">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brxe1ww-1.html#brzm3dy-1" onclick="registerlastclicked(&#39;tocitem_3474&#39;);">Accessing .NET Array Elements in MATLAB</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3475">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brxe1ww-1.html#bs3bnn5" onclick="registerlastclicked(&#39;tocitem_3475&#39;);">Converting .NET Arrays to Cell Arrays</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3476">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brxe1ww-1.html#brztjh8-1" onclick="registerlastclicked(&#39;tocitem_3476&#39;);">Limitations to Support of .NET Arrays</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3478">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3toj" onclick="registerlastclicked(&#39;tocitem_3478&#39;);">.NET Delegates</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3479">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3qb1-1" onclick="registerlastclicked(&#39;tocitem_3479&#39;);">Call a .NET Delegate in MATLAB</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3480">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3qb1-7" onclick="registerlastclicked(&#39;tocitem_3480&#39;);">Create a Delegate from a .NET Object Method</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3481">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3qb1-8" onclick="registerlastclicked(&#39;tocitem_3481&#39;);">Create a Delegate Instance Bound to a .NET Method</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3482">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bswv5gw-1" onclick="registerlastclicked(&#39;tocitem_3482&#39;);">Use .NET Delegates With the out and ref Type Arguments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3483">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3qb1-11" onclick="registerlastclicked(&#39;tocitem_3483&#39;);">Combine and Remove .NET Delegates</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3484">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3qb1-12" onclick="registerlastclicked(&#39;tocitem_3484&#39;);">Calling a .NET Method Asynchronously</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3485">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p4r-1.html#bsu3qb1-13" onclick="registerlastclicked(&#39;tocitem_3485&#39;);">Limitations to Support of .NET Delegates</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3487">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p5b-1.html#bsu3tqi" onclick="registerlastclicked(&#39;tocitem_3487&#39;);">Overview of .NET Enumerations</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3488">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p5b-1.html#bsvontq-1" onclick="registerlastclicked(&#39;tocitem_3488&#39;);">Iterate Through a .NET Enumeration</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3489">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p5b-1.html#bsvej_g-1" onclick="registerlastclicked(&#39;tocitem_3489&#39;);">Use .NET Enumerations to Test for Conditions</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3490">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p5b-1.html#bsxcfa1-1" onclick="registerlastclicked(&#39;tocitem_3490&#39;);">Example - Read Special System Folder Path</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3491">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p5b-1.html#bsu3p_e-6" onclick="registerlastclicked(&#39;tocitem_3491&#39;);">Use Bit Flags with .NET Enumerations</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3492">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsu3p5b-1.html#bsu3p_e-19" onclick="registerlastclicked(&#39;tocitem_3492&#39;);">Limitations to Support of .NET Enumerations</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3494">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bskwuak-1.html#bsk10w6" onclick="registerlastclicked(&#39;tocitem_3494&#39;);">Work with Microsoft Excel Spreadsheets Using .NET</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3495">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bskwuak-1.html#bsk10uw" onclick="registerlastclicked(&#39;tocitem_3495&#39;);">Work with Microsoft Word Documents Using .NET</a></p>

<div class="toc_section_lvl_4" id="tocsect_3433">

<p class="toc_item_lvl_5_empty" id="tocitem_3497">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brz16z_-1.html#brz17y9" onclick="registerlastclicked(&#39;tocitem_3497&#39;);">.NET Generic Classes</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3498">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brz16z_-1.html#brz19zm-1" onclick="registerlastclicked(&#39;tocitem_3498&#39;);">Accessing Items in a .NET Collection</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3499">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brz16z_-1.html#brz170c-1" onclick="registerlastclicked(&#39;tocitem_3499&#39;);">Creating a .NET Collection</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3500">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brz16z_-1.html#brz2dz4-1" onclick="registerlastclicked(&#39;tocitem_3500&#39;);">Convert a .NET Collection to a MATLAB Array</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3501">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brz16z_-1.html#br7v4rs-1" onclick="registerlastclicked(&#39;tocitem_3501&#39;);">Calling .NET Generic Methods</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3502">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brz16z_-1.html#bsz2p70" onclick="registerlastclicked(&#39;tocitem_3502&#39;);">Display .NET Generic Methods Using Reflection</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3504"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/bsy380h.html" onclick="registerlastclicked(&#39;tocitem_3504&#39;);toggletoc(&#39;tocsect_3504&#39;);">Examples Using .NET</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3506">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsy382f-1.html#bsy5mje-1" onclick="registerlastclicked(&#39;tocitem_3506&#39;);">System.DateTime Example</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3507">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsy382f-1.html#bsy80li-1" onclick="registerlastclicked(&#39;tocitem_3507&#39;);">Create .NET Object From Constructor</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3508">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsy382f-1.html#bsy_2zt-1" onclick="registerlastclicked(&#39;tocitem_3508&#39;);">View Information About .NET Object</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3509">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bsy382f-1.html#bsy5ts7-1" onclick="registerlastclicked(&#39;tocitem_3509&#39;);">Introduction to .NET Data Types</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3512">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2m9ei.html#bszl8pk" onclick="registerlastclicked(&#39;tocitem_3512&#39;);">Call .NET Methods with Numeric Arguments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3513">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2m9ei.html#bsz9yfj-1" onclick="registerlastclicked(&#39;tocitem_3513&#39;);">Use .NET Numeric Types in MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3515">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2m9op.html#bs2m9pa-1" onclick="registerlastclicked(&#39;tocitem_3515&#39;);">Call .NET Methods with System.String Arguments</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3516">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2m9op.html#bs2m9pa-2" onclick="registerlastclicked(&#39;tocitem_3516&#39;);">Use System.String in MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3518">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2m9p2.html#bszl8ru-1" onclick="registerlastclicked(&#39;tocitem_3518&#39;);">Call .NET Methods with System.Enum Arguments</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3519">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2m9p2.html#bszt_52-1" onclick="registerlastclicked(&#39;tocitem_3519&#39;);">Use System.Enum in MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3521">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs2qu1d.html#bsntbt1" onclick="registerlastclicked(&#39;tocitem_3521&#39;);">Example C# Class for Using System.Nullable in MATLAB</a></p>

</div>
<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3523">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1u7w4.html#bs1u9uo" onclick="registerlastclicked(&#39;tocitem_3523&#39;);">System.Environment.CurrentDirectory Example</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3524">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs1u7w4.html#bs1u9uu" onclick="registerlastclicked(&#39;tocitem_3524&#39;);">Do Not Use ClassName.PropertyName Syntax for Static Properties</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3528">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs10jxx-1.html#bs10jxx-5" onclick="registerlastclicked(&#39;tocitem_3528&#39;);">Work with .NET Methods Having Multiple Signatures</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3529">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs10jxx-1.html#bs10jxx-4" onclick="registerlastclicked(&#39;tocitem_3529&#39;);">Calling Methods Examples</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3530">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs10jxx-1.html#bs43wyn" onclick="registerlastclicked(&#39;tocitem_3530&#39;);">Call .NET Methods That Use the out Keyword</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3531">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs10jxx-1.html#bs43wyt" onclick="registerlastclicked(&#39;tocitem_3531&#39;);">Call .NET Methods That Use the ref Keyword</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3532">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs10jxx-1.html#bs43wyx" onclick="registerlastclicked(&#39;tocitem_3532&#39;);">Call .NET Methods That Use the params Keyword</a></p>

<div class="toc_section_lvl_4" id="tocsect_3504">

<p class="toc_item_lvl_5_empty" id="tocitem_3534">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs3maty.html#bs3x7_1" onclick="registerlastclicked(&#39;tocitem_3534&#39;);">Example of Cell Arrays of .NET Data</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3535">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs3maty.html#bs3max2-1_1" onclick="registerlastclicked(&#39;tocitem_3535&#39;);">Create a Cell Array for Each System.Object</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3536">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs3maty.html#bs3no0j-1" onclick="registerlastclicked(&#39;tocitem_3536&#39;);">Create MATLAB Variables from the .NET Data</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3537">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bs3maty.html#bs3np32" onclick="registerlastclicked(&#39;tocitem_3537&#39;);">Call MATLAB Functions with MATLAB Variables</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3540"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/brd4at8.html" onclick="registerlastclicked(&#39;tocitem_3540&#39;);toggletoc(&#39;tocsect_3540&#39;);">Using COM Objects from MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3540">

<p class="toc_item_lvl_5_empty" id="tocitem_3542">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f64299.html#f64303" onclick="registerlastclicked(&#39;tocitem_3542&#39;);">What Is COM?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3543">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f64299.html#bra56oh-1" onclick="registerlastclicked(&#39;tocitem_3543&#39;);">Concepts and Terminology</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3544">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f64299.html#f64335" onclick="registerlastclicked(&#39;tocitem_3544&#39;);">The MATLAB COM Client</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3545">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f64299.html#bq9yawv-1" onclick="registerlastclicked(&#39;tocitem_3545&#39;);">The MATLAB COM Automation Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3546">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f64299.html#f101975" onclick="registerlastclicked(&#39;tocitem_3546&#39;);">Registering Controls and Servers</a></p>

<div class="toc_section_lvl_4" id="tocsect_3540">

<p class="toc_item_lvl_5_empty" id="tocitem_3548">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bqdwu3j.html#bqe9c_b" onclick="registerlastclicked(&#39;tocitem_3548&#39;);">Introduction</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3549">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bqdwu3j.html#bra56qx-1" onclick="registerlastclicked(&#39;tocitem_3549&#39;);">Basic COM Functions</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3550">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bqdwu3j.html#bqe2ikv" onclick="registerlastclicked(&#39;tocitem_3550&#39;);">Overview of MATLAB COM Client Examples</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3551">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bqdwu3j.html#bqdw216" onclick="registerlastclicked(&#39;tocitem_3551&#39;);">Example - Using Internet Explorer Program in a MATLAB Figure</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3552">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bqdwu3j.html#bqd8yq0" onclick="registerlastclicked(&#39;tocitem_3552&#39;);">Example - Grid ActiveX Control in a Figure</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3553">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bqdwu3j.html#bqd_o32" onclick="registerlastclicked(&#39;tocitem_3553&#39;);">Example - Reading Excel Spreadsheet Data</a></p>

<div class="toc_section_lvl_4" id="tocsect_3540">

<p class="toc_item_lvl_5_empty" id="tocitem_3555">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq9yai0-1.html#bq9yam7-1" onclick="registerlastclicked(&#39;tocitem_3555&#39;);">Introduction</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3556">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq9yai0-1.html#bra56t1-1" onclick="registerlastclicked(&#39;tocitem_3556&#39;);">MATLAB Client and In-Process Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3557">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq9yai0-1.html#bq9yam7-5" onclick="registerlastclicked(&#39;tocitem_3557&#39;);">MATLAB Client and Out-of-Process Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3558">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq9yai0-1.html#bq9yam7-7" onclick="registerlastclicked(&#39;tocitem_3558&#39;);">COM Implementations Supported by MATLAB Software</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3559">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq9yai0-1.html#bq9yam7-8" onclick="registerlastclicked(&#39;tocitem_3559&#39;);">Client Application and MATLAB Automation Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3560">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq9yai0-1.html#bq9yam7-10" onclick="registerlastclicked(&#39;tocitem_3560&#39;);">Client Application and MATLAB Engine Server</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3561"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/brd0v8r.html" onclick="registerlastclicked(&#39;tocitem_3561&#39;);toggletoc(&#39;tocsect_3561&#39;);">MATLAB COM Client Support</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3563">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27178.html#f106728" onclick="registerlastclicked(&#39;tocitem_3563&#39;);">Creating the Server Process - An Overview</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3564">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27178.html#f106314" onclick="registerlastclicked(&#39;tocitem_3564&#39;);">Creating an ActiveX Control</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3565">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27178.html#brgy8tl-1" onclick="registerlastclicked(&#39;tocitem_3565&#39;);">Creating a COM Server</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3567">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05p7.html#brd55xl" onclick="registerlastclicked(&#39;tocitem_3567&#39;);">About Your Object</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3568">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05p7.html#brd2dn5" onclick="registerlastclicked(&#39;tocitem_3568&#39;);">Exploring Properties</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3569">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05p7.html#brd2duw-1" onclick="registerlastclicked(&#39;tocitem_3569&#39;);">Exploring Methods</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3570">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05p7.html#brd2dun-1" onclick="registerlastclicked(&#39;tocitem_3570&#39;);">Exploring Events</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3571">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05p7.html#brd7cfh-1" onclick="registerlastclicked(&#39;tocitem_3571&#39;);">Exploring Interfaces</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3572">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05p7.html#f90970" onclick="registerlastclicked(&#39;tocitem_3572&#39;);">Identifying Objects and Interfaces</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3574">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f57811" onclick="registerlastclicked(&#39;tocitem_3574&#39;);">About Object Properties</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3575">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f68519" onclick="registerlastclicked(&#39;tocitem_3575&#39;);">Working with Properties</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3576">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f68490" onclick="registerlastclicked(&#39;tocitem_3576&#39;);">Setting the Value of a Property</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3577">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f85093" onclick="registerlastclicked(&#39;tocitem_3577&#39;);">Working with Multiple Objects</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3578">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f85097" onclick="registerlastclicked(&#39;tocitem_3578&#39;);">Using Enumerated Values for Properties</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3579">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f60795" onclick="registerlastclicked(&#39;tocitem_3579&#39;);">Using the Property Inspector</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3580">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f71913" onclick="registerlastclicked(&#39;tocitem_3580&#39;);">Custom Properties</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3581">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f57262.html#f118333" onclick="registerlastclicked(&#39;tocitem_3581&#39;);">Properties That Take Arguments</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3583">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f89716" onclick="registerlastclicked(&#39;tocitem_3583&#39;);">About Methods</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3584">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f89757" onclick="registerlastclicked(&#39;tocitem_3584&#39;);">Getting Method Information</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3585">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f91194" onclick="registerlastclicked(&#39;tocitem_3585&#39;);">Invoking Methods on an Object</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3586">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f116268" onclick="registerlastclicked(&#39;tocitem_3586&#39;);">Exceptions to Using Implicit Syntax</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3587">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f107980" onclick="registerlastclicked(&#39;tocitem_3587&#39;);">Specifying Enumerated Parameters</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3588">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f89811" onclick="registerlastclicked(&#39;tocitem_3588&#39;);">Optional Input Arguments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3589">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f105307" onclick="registerlastclicked(&#39;tocitem_3589&#39;);">Returning Multiple Output Arguments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3590">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89715.html#f89816" onclick="registerlastclicked(&#39;tocitem_3590&#39;);">Argument Callouts in Error Messages</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3592">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#f108387" onclick="registerlastclicked(&#39;tocitem_3592&#39;);">About Events</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3593">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#brgohka-1" onclick="registerlastclicked(&#39;tocitem_3593&#39;);">Functions for Working with Events</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3594">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#bqo0p0z" onclick="registerlastclicked(&#39;tocitem_3594&#39;);">Examples of Event Handlers</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3595">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#f108692" onclick="registerlastclicked(&#39;tocitem_3595&#39;);">Responding to Events - an Overview</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3596">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#brgr9ly-1" onclick="registerlastclicked(&#39;tocitem_3596&#39;);">Responding to Events - Examples</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3597">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#f110799" onclick="registerlastclicked(&#39;tocitem_3597&#39;);">Writing Event Handlers</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3598">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#f90131" onclick="registerlastclicked(&#39;tocitem_3598&#39;);">Sample Event Handlers</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3599">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brgosms.html#f107572" onclick="registerlastclicked(&#39;tocitem_3599&#39;);">Writing Event Handlers as MATLAB File Subfunctions</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3601">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f103034.html#f103130" onclick="registerlastclicked(&#39;tocitem_3601&#39;);">IUnknown and IDispatch Interfaces</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3602">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f103034.html#f103036" onclick="registerlastclicked(&#39;tocitem_3602&#39;);">Custom Interfaces</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3604">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f107685.html#brd2eke" onclick="registerlastclicked(&#39;tocitem_3604&#39;);">Functions for Saving and Restoring COM Objects</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3605">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f107685.html#f62902" onclick="registerlastclicked(&#39;tocitem_3605&#39;);">Releasing COM Interfaces and Objects</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3607">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq4jkuh" onclick="registerlastclicked(&#39;tocitem_3607&#39;);">Passing Data to a COM Object</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3608">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq4sbv3-1" onclick="registerlastclicked(&#39;tocitem_3608&#39;);">Handling Data from a COM Object</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3609">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq4epvg-5" onclick="registerlastclicked(&#39;tocitem_3609&#39;);">Unsupported Types</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3610">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq4hokx-1" onclick="registerlastclicked(&#39;tocitem_3610&#39;);">Passing MATLAB Data to ActiveX Objects</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3611">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq552_r" onclick="registerlastclicked(&#39;tocitem_3611&#39;);">Passing MATLAB SAFEARRAY to COM Object</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3612">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq552_v" onclick="registerlastclicked(&#39;tocitem_3612&#39;);">Reading SAFEARRAY from a COM Object in MATLAB Applications</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3613">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq4epvg-1.html#bq9byb0-1" onclick="registerlastclicked(&#39;tocitem_3613&#39;);">Displaying MATLAB Syntax for COM Objects</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3615">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05nl.html#f62648" onclick="registerlastclicked(&#39;tocitem_3615&#39;);">MATLAB Sample Control</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3616">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05nl.html#f62659" onclick="registerlastclicked(&#39;tocitem_3616&#39;);">Using a MATLAB Application as an Automation Client</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3617">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05nl.html#f134682" onclick="registerlastclicked(&#39;tocitem_3617&#39;);">Connecting to an Existing Excel Application</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3618">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05nl.html#f133702" onclick="registerlastclicked(&#39;tocitem_3618&#39;);">Running a Macro in an Excel Server Application</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3619">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd05nl.html#bra56xr-1" onclick="registerlastclicked(&#39;tocitem_3619&#39;);">MATLAB COM Client Demo</a></p>

<div class="toc_section_lvl_4" id="tocsect_3561">

<p class="toc_item_lvl_5_empty" id="tocitem_3621">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27433.html#bqo22w0" onclick="registerlastclicked(&#39;tocitem_3621&#39;);">Deploying ActiveX Controls Requiring Run-Time Licenses</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3622">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27433.html#f132190" onclick="registerlastclicked(&#39;tocitem_3622&#39;);">Using Microsoft Forms 2.0 Controls</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3623">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27433.html#f27442" onclick="registerlastclicked(&#39;tocitem_3623&#39;);">Using COM Collections</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3624">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27433.html#f134991" onclick="registerlastclicked(&#39;tocitem_3624&#39;);">Using MATLAB Application as a DCOM Client</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3625">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f27433.html#f67533" onclick="registerlastclicked(&#39;tocitem_3625&#39;);">MATLAB COM Support Limitations</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3626"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/brd0v3w.html" onclick="registerlastclicked(&#39;tocitem_3626&#39;);toggletoc(&#39;tocsect_3626&#39;);">Calling MATLAB COM Automation Server</a></p>

<div class="toc_section_lvl_4" id="tocsect_3626">

<p class="toc_item_lvl_5_empty" id="tocitem_3628">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd0vd4-1.html#brd0vd4-2" onclick="registerlastclicked(&#39;tocitem_3628&#39;);">What Is Automation?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3629">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd0vd4-1.html#brd0vd4-3" onclick="registerlastclicked(&#39;tocitem_3629&#39;);">Creating the MATLAB Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3630">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/brd0vd4-1.html#brd0vd4-12" onclick="registerlastclicked(&#39;tocitem_3630&#39;);">Connecting to an Existing MATLAB Server</a></p>

<div class="toc_section_lvl_4" id="tocsect_3626">

<p class="toc_item_lvl_5_empty" id="tocitem_3632">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bq7_z4m-1" onclick="registerlastclicked(&#39;tocitem_3632&#39;);">Introduction</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3633">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bra567n-1" onclick="registerlastclicked(&#39;tocitem_3633&#39;);">Executing Commands in the MATLAB Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3634">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bq7_zs2-1" onclick="registerlastclicked(&#39;tocitem_3634&#39;);">Exchanging Data with the Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3635">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bq7_zqg-1" onclick="registerlastclicked(&#39;tocitem_3635&#39;);">Controlling the Server Window</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3636">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bq7_zlu-1" onclick="registerlastclicked(&#39;tocitem_3636&#39;);">Terminating the Server Process</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3637">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bq7_y1v-1" onclick="registerlastclicked(&#39;tocitem_3637&#39;);">Client-Specific Information</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3638">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/bq7_ykd-1.html#bqg7bhq-1" onclick="registerlastclicked(&#39;tocitem_3638&#39;);">Using the Visible Property</a></p>

<div class="toc_section_lvl_4" id="tocsect_3626">

<p class="toc_item_lvl_5_empty" id="tocitem_3640">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89367.html#f34614" onclick="registerlastclicked(&#39;tocitem_3640&#39;);">Launching MATLAB as an Automation Server in Desktop Mode</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3641">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89367.html#bsd9503-1" onclick="registerlastclicked(&#39;tocitem_3641&#39;);">Creating the Server Manually</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3642">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89367.html#f33934" onclick="registerlastclicked(&#39;tocitem_3642&#39;);">Specifying a Shared or Dedicated Server</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3643">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89367.html#bq7_z0y-1" onclick="registerlastclicked(&#39;tocitem_3643&#39;);">Using Date Data Type</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3644">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f89367.html#f27567" onclick="registerlastclicked(&#39;tocitem_3644&#39;);">Using MATLAB Application as a DCOM Server</a></p>

<div class="toc_section_lvl_4" id="tocsect_3626">

<p class="toc_item_lvl_5_empty" id="tocitem_3646">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f135590.html#f133975" onclick="registerlastclicked(&#39;tocitem_3646&#39;);">Example - Running MATLAB Function from Visual Basic .NET Program</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3647">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f135590.html#f134116" onclick="registerlastclicked(&#39;tocitem_3647&#39;);">Example - Viewing Methods from a Visual Basic .NET Client</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3648">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f135590.html#bqg5h5b" onclick="registerlastclicked(&#39;tocitem_3648&#39;);">Example - Calling MATLAB Software from a Web Application</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3649">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f135590.html#f135616" onclick="registerlastclicked(&#39;tocitem_3649&#39;);">Example - Calling MATLAB Software from a C# Client</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3650"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6010.html" onclick="registerlastclicked(&#39;tocitem_3650&#39;);toggletoc(&#39;tocsect_3650&#39;);">Using Web Services with MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3650">

<p class="toc_item_lvl_5_empty" id="tocitem_3652">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6127.html#bq3pp5t" onclick="registerlastclicked(&#39;tocitem_3652&#39;);">What Are Web Services in MATLAB?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3653">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6127.html#br04csj-1" onclick="registerlastclicked(&#39;tocitem_3653&#39;);">What You Need to Use Web Services with MATLAB</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3654">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6127.html#br00wme-1" onclick="registerlastclicked(&#39;tocitem_3654&#39;);">Typical Applications Using Web Services with MATLAB</a></p>

<div class="toc_section_lvl_4" id="tocsect_3650">

<p class="toc_item_lvl_5_empty" id="tocitem_3656">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0203q-1.html#br1939x" onclick="registerlastclicked(&#39;tocitem_3656&#39;);">Two Basic Ways to Access Web Services from MATLAB</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3657">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0203q-1.html#br0219y" onclick="registerlastclicked(&#39;tocitem_3657&#39;);">How MATLAB Accesses Web Services</a></p>

<div class="toc_section_lvl_4" id="tocsect_3650">

<p class="toc_item_lvl_5_empty" id="tocitem_3659">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0xvm8-1.html#br0xvm8-2" onclick="registerlastclicked(&#39;tocitem_3659&#39;);">Using the createClassFromWsdl Function</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3660">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0xvm8-1.html#br0xvm8-3" onclick="registerlastclicked(&#39;tocitem_3660&#39;);">Example - createClassFromWsdl Function</a></p>

<div class="toc_section_lvl_4" id="tocsect_3650">

<p class="toc_item_lvl_5_empty" id="tocitem_3662">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0xwh9-1.html#br0xwl2" onclick="registerlastclicked(&#39;tocitem_3662&#39;);">Using the MATLAB SOAP Functions</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3663">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0xwh9-1.html#br0zcc8-1" onclick="registerlastclicked(&#39;tocitem_3663&#39;);">Example - SOAP Functions</a></p>

<div class="toc_section_lvl_4" id="tocsect_3650">

<p class="toc_item_lvl_5_empty" id="tocitem_3665">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0xvr5-1.html#br0xvnx-1" onclick="registerlastclicked(&#39;tocitem_3665&#39;);">XML-MATLAB Data Type Conversion Used in Web Services</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3666">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0xvr5-1.html#br0xvr5-3" onclick="registerlastclicked(&#39;tocitem_3666&#39;);">Programming with Web Services</a></p>

<div class="toc_section_lvl_4" id="tocsect_3650">

<p class="toc_item_lvl_5_empty" id="tocitem_3668">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0zriq-1.html#br1975j" onclick="registerlastclicked(&#39;tocitem_3668&#39;);">Resources for Web Services and SOAP</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3669">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0zriq-1.html#br1975o-1" onclick="registerlastclicked(&#39;tocitem_3669&#39;);">Resources for WSDL</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3670">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/br0zriq-1.html#br1975r-1" onclick="registerlastclicked(&#39;tocitem_3670&#39;);">Tools for Creating Web Services</a></p>

</div>
</div>
<p class="toc_item_lvl_3_nonempty" id="tocitem_3671"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/matlab_external/f38496.html" onclick="registerlastclicked(&#39;tocitem_3671&#39;);toggletoc(&#39;tocsect_3671&#39;);">Serial Port I/O</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3673">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f105659.html#f83776" onclick="registerlastclicked(&#39;tocitem_3673&#39;);">What Is the MATLAB Serial Port Interface?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3674">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f105659.html#f83308" onclick="registerlastclicked(&#39;tocitem_3674&#39;);">Supported Serial Port Interface Standards</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3675">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f105659.html#f93372" onclick="registerlastclicked(&#39;tocitem_3675&#39;);">Supported Platforms</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3676">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f105659.html#f92816" onclick="registerlastclicked(&#39;tocitem_3676&#39;);">Using the Examples with Your Device</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3678">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f38512" onclick="registerlastclicked(&#39;tocitem_3678&#39;);">Introduction</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3679">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#bq__6eo-1" onclick="registerlastclicked(&#39;tocitem_3679&#39;);">What Is Serial Communication?</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3680">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f92563" onclick="registerlastclicked(&#39;tocitem_3680&#39;);">The Serial Port Interface Standard</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3681">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f57751" onclick="registerlastclicked(&#39;tocitem_3681&#39;);">Connecting Two Devices with a Serial Cable</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3682">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f51533" onclick="registerlastclicked(&#39;tocitem_3682&#39;);">Serial Port Signals and Pin Assignments</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3683">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f52182" onclick="registerlastclicked(&#39;tocitem_3683&#39;);">Serial Data Format</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3684">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f84557" onclick="registerlastclicked(&#39;tocitem_3684&#39;);">Finding Serial Port Information for Your Platform</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3685">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#br0r9gx-1" onclick="registerlastclicked(&#39;tocitem_3685&#39;);">Using Virtual USB Serial Ports</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3686">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63744.html#f97853" onclick="registerlastclicked(&#39;tocitem_3686&#39;);">Selected Bibliography</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3688">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f92576.html#f90253" onclick="registerlastclicked(&#39;tocitem_3688&#39;);">Example: Getting Started</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3689">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f92576.html#f61490" onclick="registerlastclicked(&#39;tocitem_3689&#39;);">The Serial Port Session</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3690">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f92576.html#f61191" onclick="registerlastclicked(&#39;tocitem_3690&#39;);">Configuring and Returning Properties</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3692">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f66175.html#bq3g7xm" onclick="registerlastclicked(&#39;tocitem_3692&#39;);">Overview of a Serial Port Object</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3693">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f66175.html#f43749" onclick="registerlastclicked(&#39;tocitem_3693&#39;);">Configuring Properties During Object Creation</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3694">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f66175.html#f77377" onclick="registerlastclicked(&#39;tocitem_3694&#39;);">The Serial Port Object Display</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3695">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f66175.html#f96883" onclick="registerlastclicked(&#39;tocitem_3695&#39;);">Creating an Array of Serial Port Objects</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3699">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f92328" onclick="registerlastclicked(&#39;tocitem_3699&#39;);">Before You Begin</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3700">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#bq__6qz-1" onclick="registerlastclicked(&#39;tocitem_3700&#39;);">Example - Introduction to Writing and Reading Data</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3701">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f62883" onclick="registerlastclicked(&#39;tocitem_3701&#39;);">Controlling Access to the MATLAB Command Line</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3702">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f71503" onclick="registerlastclicked(&#39;tocitem_3702&#39;);">Writing Data</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3703">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f62939" onclick="registerlastclicked(&#39;tocitem_3703&#39;);">Reading Data</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3704">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f63007" onclick="registerlastclicked(&#39;tocitem_3704&#39;);">Example - Writing and Reading Text Data</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3705">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f97378" onclick="registerlastclicked(&#39;tocitem_3705&#39;);">Example - Parsing Input Data Using textscan</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3706">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f62852.html#f97373" onclick="registerlastclicked(&#39;tocitem_3706&#39;);">Example - Reading Binary Data</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3708">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#f74133" onclick="registerlastclicked(&#39;tocitem_3708&#39;);">Introduction</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3709">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#bq__6s8-1" onclick="registerlastclicked(&#39;tocitem_3709&#39;);">Example - Introduction to Events and Callbacks</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3710">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#f123763" onclick="registerlastclicked(&#39;tocitem_3710&#39;);">Event Types and Callback Properties</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3711">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#f74786" onclick="registerlastclicked(&#39;tocitem_3711&#39;);">Responding To Event Information</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3712">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#f75633" onclick="registerlastclicked(&#39;tocitem_3712&#39;);">Creating and Executing Callback Functions</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3713">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#f98397" onclick="registerlastclicked(&#39;tocitem_3713&#39;);">Enabling Callback Functions After They Error</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3714">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73779.html#f94401" onclick="registerlastclicked(&#39;tocitem_3714&#39;);">Example - Using Events and Callbacks</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3716">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f85300.html#f85339" onclick="registerlastclicked(&#39;tocitem_3716&#39;);">Properties of Serial Port Control Pins</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3717">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f85300.html#bq__6ux-1" onclick="registerlastclicked(&#39;tocitem_3717&#39;);">Signaling the Presence of Connected Devices</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3718">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f85300.html#f85402" onclick="registerlastclicked(&#39;tocitem_3718&#39;);">Controlling the Flow of Data: Handshaking</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3720">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#f92520" onclick="registerlastclicked(&#39;tocitem_3720&#39;);">Introduction</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3721">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#bq__6yx-1" onclick="registerlastclicked(&#39;tocitem_3721&#39;);">Recording Properties</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3722">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#bq__60h-1" onclick="registerlastclicked(&#39;tocitem_3722&#39;);">Example: Introduction to Recording Information</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3723">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#f93717" onclick="registerlastclicked(&#39;tocitem_3723&#39;);">Creating Multiple Record Files</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3724">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#f91161" onclick="registerlastclicked(&#39;tocitem_3724&#39;);">Specifying a Filename</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3725">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#f63445" onclick="registerlastclicked(&#39;tocitem_3725&#39;);">The Record File Format</a></p>

<p class="toc_item_lvl_5_empty" id="tocitem_3726">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f73765.html#f40323" onclick="registerlastclicked(&#39;tocitem_3726&#39;);">Example: Recording Information to Disk</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3728">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f80148.html#brbs02c" onclick="registerlastclicked(&#39;tocitem_3728&#39;);">Using save and load</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3729">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f80148.html#f91607" onclick="registerlastclicked(&#39;tocitem_3729&#39;);">Using Serial Port Objects on Different Platforms</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3731">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63139.html#f63141" onclick="registerlastclicked(&#39;tocitem_3731&#39;);">Disconnecting a Serial Port Object</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3732">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f63139.html#f63145" onclick="registerlastclicked(&#39;tocitem_3732&#39;);">Cleaning Up the MATLAB Environment</a></p>

<div class="toc_section_lvl_4" id="tocsect_3671">

<p class="toc_item_lvl_5_empty" id="tocitem_3734">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f50875.html#f50636" onclick="registerlastclicked(&#39;tocitem_3734&#39;);">The Property Reference Page Format</a></p>

</div>
<p class="toc_item_lvl_5_empty" id="tocitem_3735">&nbsp;&nbsp;<a href="http://www.mathworks.it/help/techdoc/matlab_external/f50875.html#f87478" onclick="registerlastclicked(&#39;tocitem_3735&#39;);">Serial Port Object Properties</a></p>

</div>
</div>
</div>
<p class="toc_item_lvl_2_nonempty" id="tocitem_3737"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/apiref/bqoqnz0.html" onclick="registerlastclicked(&#39;tocitem_3737&#39;);toggletoc(&#39;tocsect_3737&#39;);">C/C++ and Fortran API Reference</a></p>

</div>
<p class="toc_item_lvl_1_nonempty" id="tocitem_3742"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/ref/f16-6011.html" onclick="registerlastclicked(&#39;tocitem_3742&#39;);toggletoc(&#39;tocsect_3742&#39;);">Functions</a></p>

<p class="toc_item_lvl_1_nonempty" id="tocitem_5765"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/demo_example.html" onclick="registerlastclicked(&#39;tocitem_5765&#39;);toggletoc(&#39;tocsect_5765&#39;);">Examples</a></p>

<p class="toc_item_lvl_1_nonempty" id="tocitem_5776"><span>•&nbsp;</span><a href="http://www.mathworks.it/help/techdoc/rn/rn_intro.html" onclick="registerlastclicked(&#39;tocitem_5776&#39;);toggletoc(&#39;tocsect_5776&#39;);">Release Notes</a></p>

</div>
<div id="navbody_index" style="display:none"><p class="indexlinks">
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;symbols&#39;);">Symbols</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;a&#39;);">A</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;b&#39;);">B</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;c&#39;);">C</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;d&#39;);">D</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;e&#39;);">E</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;f&#39;);">F</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;g&#39;);">G</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;h&#39;);">H</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;i&#39;);">I</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;j&#39;);">J</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;k&#39;);">K</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;l&#39;);">L</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;m&#39;);">M</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;n&#39;);">N</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;o&#39;);">O</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;p&#39;);">P</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;q&#39;);">Q</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;r&#39;);">R</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;s&#39;);">S</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;t&#39;);">T</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;u&#39;);">U</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;v&#39;);">V</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;w&#39;);">W</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;x&#39;);">X</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;y&#39;);">Y</a>&nbsp;
<a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#" onclick="load_index_seg(&#39;z&#39;);">Z</a>&nbsp;
</p></div>
<!-- =================== END OF TOC MATERIAL.  LINK COUNT: 304 =================== -->
      </div>
      <div class="doc_wrapper" id="doc_wrapper" style="height: 516px; ">

<a name="top_of_page"></a>

<a name="f6425"></a><h2 class="title" id="f6425">Passing Data to a Java Method</h2><a class="indexterm" name="zmw57dd0e27596"></a><a class="indexterm" name="zmw57dd0e27601"></a><a class="indexterm" name="zmw57dd0e27606"></a><table border="0" cellpadding="4" cellspacing="0" class="pagenavtable"><tbody><tr><th>On this page…</th></tr><tr><td><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f47917">Introduction</a></p><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#bq__5xw-1">Conversion of MATLAB Argument Data</a></p><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61465">Passing Built-In Types</a></p><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f60475">Passing String Arguments</a></p><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61738">Passing Java Objects</a></p><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f58930">Other Data Conversion Topics</a></p><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f48789">Passing Data to Overloaded Methods</a></p></td></tr></tbody></table><a name="f47917"></a><h3 class="title" id="f47917">Introduction</h3><p>When you make a call in the MATLAB software to Sun Java code,
any MATLAB types you pass in the call are converted to types
native to the Java language. MATLAB performs this conversion
on each argument that is passed, except for those arguments that are
already Java objects. This section describes the conversion that
is performed on specific MATLAB types and, at the end, also takes
a look at how argument types affect calls made to overloaded methods.</p><p>If data is to be returned by the method being called, MATLAB receives
this data and converts it to the appropriate MATLAB format wherever
necessary. This process is covered in <a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html">Handling Data Returned from a Java Method</a>.</p><a name="bq__5xw-1"></a><p class="pagenavlink"><script language="Javascript">updateSectionId("bq__5xw-1");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow1.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow1.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow1">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><h3 class="title" id="bq__5xw-1">Conversion of MATLAB Argument Data</h3><a class="indexterm" name="zmw57dd0e27655"></a><a class="indexterm" name="zmw57dd0e27660"></a><a class="indexterm" name="zmw57dd0e27665"></a><p>MATLAB data, passed as arguments to Java methods,
are converted by MATLAB into types that best represent the data
to the Java language. The table below shows all of the MATLAB base
types for passed arguments and the Java base types defined for
input arguments. Each row shows a MATLAB type followed by the
possible Java argument matches, from left to right in order of
closeness of the match. The MATLAB types (except cell arrays)
can all be scalar (<tt>1</tt>-by-<tt>1</tt>) arrays
or matrices. All of the Java types can be scalar values or arrays.</p><a name="matlab_to_java_table"></a><a name="bqgs38j"></a><p class="title"><b>Conversion of MATLAB Types to Java Types</b></p><table cellspacing="0" class="body" cellpadding="4" summary="Conversion of MATLAB Types to Java Types" width="100%" border="2"><colgroup><col width="17%"><col width="15%"><col width="15%"><col width="13%"><col width="10%"><col width="10%"><col width="10%"><col width="10%"></colgroup><thead><tr valign="top"><th bgcolor="#B2B2B2">MATLAB Argument</th><th bgcolor="#B2B2B2">Closest Type
(7)</th><th bgcolor="#B2B2B2" colspan="5">Java Input Argument (Scalar
or Array)</th><th bgcolor="#B2B2B2">Least Close Type (1)</th></tr>
</thead><tbody><tr valign="top"><td bgcolor="#F2F2F2"><p><tt>logical</tt></p></td><td bgcolor="#F2F2F2"><p><tt>boolean</tt></p></td><td bgcolor="#F2F2F2"><p><tt>byte</tt></p></td><td bgcolor="#F2F2F2"><p><tt>short</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>short</tt></p></td><td bgcolor="#F2F2F2"><p><tt>byte</tt></p></td><td bgcolor="#F2F2F2"><p><tt>boolean</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>single</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>char</tt></p></td><td bgcolor="#F2F2F2"><p><tt>String</tt></p></td><td bgcolor="#F2F2F2"><p><tt>char</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>uint8</tt></p></td><td bgcolor="#F2F2F2"><p><tt>byte</tt></p></td><td bgcolor="#F2F2F2"><p><tt>short</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p> <tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>uint16</tt></p></td><td bgcolor="#F2F2F2"><p><tt>short</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>uint32</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p> <tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>int8</tt></p></td><td bgcolor="#F2F2F2"><p><tt>byte</tt></p></td><td bgcolor="#F2F2F2"><p><tt>short</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>int16</tt></p></td><td bgcolor="#F2F2F2"><p><tt>short</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p><tt>int32</tt></p></td><td bgcolor="#F2F2F2"><p><tt>int</tt></p></td><td bgcolor="#F2F2F2"><p><tt>long</tt></p></td><td bgcolor="#F2F2F2"><p><tt>float</tt></p></td><td bgcolor="#F2F2F2"><p><tt>double</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p>cell array of <tt>strings</tt></p></td><td bgcolor="#F2F2F2"><p>array of <tt>String</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p>Java object</p></td><td bgcolor="#F2F2F2"><p><tt>Object</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p>cell array of <tt>object</tt></p></td><td bgcolor="#F2F2F2"><p>array of <tt>Object</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
<tr valign="top"><td bgcolor="#F2F2F2"><p>MATLAB object</p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td><td bgcolor="#F2F2F2"><p><tt>N/A</tt></p></td></tr>
</tbody></table><p></p><p>Type conversion of arguments passed to Java code
are discussed in the following three categories. MATLAB handles
each category differently.</p><ul type="disc"><li><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61465">Passing Built-In Types</a></p></li><li><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f60475">Passing String Arguments</a></p></li><li><p><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61738">Passing Java Objects</a></p></li></ul><p><a name="f61465"></a></p><p class="pagenavlink"><script language="Javascript">updateSectionId("f61465");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow2.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow2.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow2">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><h3 class="title" id="f61465">Passing Built-In Types</h3><a class="indexterm" name="zmw57dd0e28234"></a><p>The Java language has eight types that are intrinsic to
the language and are not represented as Java objects. These are
often referred to as <span class="emphasis"><em>built-in</em></span>, or <span class="emphasis"><em>elemental</em></span>,
types and they include <tt>boolean</tt>, <tt>byte</tt>, <tt>short</tt>, <tt>long</tt>, <tt>int</tt>, <tt>double</tt>, <tt>float</tt>,
and <tt>char</tt>. MATLAB software converts its own
types to these Java built-in types according to the table, <a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#bqgs38j">Conversion of MATLAB Types to Java Types</a>.
Built-in types are in the first 10 rows of the table.</p><p>When a Java method you are calling expects one of these
types, you can pass it the type of MATLAB argument shown in the
left-most column of the table. If the method takes an array of one
of these types, you can pass a MATLAB array of the type. MATLAB converts
the type of the argument to the type assigned in the method declaration.</p><p>The MATLAB code shown below creates a top-level window
frame and sets its dimensions. The call to <tt>setBounds</tt> passes
four MATLAB scalars of the <tt>double</tt> type to
the inherited Java Frame method, <tt>setBounds</tt>,
that takes four arguments of the <tt>int</tt> type. MATLAB converts
each 64-bit double type to a 32-bit integer prior to making the call.
Shown here is the <tt>setBounds</tt> method declaration
followed by the MATLAB code that calls the method.</p><pre class="programlisting">public void setBounds(int x, int y, int width, int height)

frame=java.awt.Frame;
frame.setBounds(200,200,800,400);
frame.setVisible(1);</pre><a name="f59908"></a><h4 class="title" id="f59908">Passing Built-In Types in an Array</h4><a class="indexterm" name="zmw57dd0e28338"></a><p>To call a Java method with an argument defined as an <span class="emphasis"><em>array</em></span> of
a built-in type, you can create and pass a MATLAB matrix with
a compatible base type. The following code defines a polygon by sending
four <tt>x</tt> and <tt>y</tt> coordinates to
the Polygon constructor. Two <tt>1</tt>-by-<tt>4</tt> MATLAB arrays
of <tt>double</tt> are passed to <tt>java.awt.Polygon</tt>,
which expects <tt>integer</tt> arrays in the first two arguments.
Shown here is the Java method declaration followed by MATLAB code
that calls the method, and then verifies the set coordinates.</p><pre class="programlisting">public Polygon(int xpoints[], int ypoints[], int npoints)

poly = java.awt.Polygon([14 42 98 124], [55 12 -2 62], 4);
[poly.xpoints poly.ypoints]       % Verify the coordinates
ans =
14     55
42     12
98    -2
124    62</pre><a name="f58453"></a><h4 class="title" id="f58453">MATLAB Arrays Are Passed by Value</h4><a class="indexterm" name="zmw57dd0e28395"></a><p>Since MATLAB arrays are passed by value, any changes that
a Java method makes to them are not visible to your MATLAB code.
If you need to access changes that a Java method makes to an
array, then, rather than passing a MATLAB array, you should create
and pass a Java array, which is a reference. For a description
of using Java arrays in MATLAB, see <a href="http://www.mathworks.it/help/techdoc/matlab_external/f15351.html">Working with Java Arrays</a>.</p><ul><a name="zmw57dd0e28428"></a><table cellspacing="0" class="note" summary="Note" cellpadding="5" border="1"><tbody><tr width="90%"><td><p><b>Note</b>&nbsp;&nbsp;


Generally, it is preferable to have methods return data that
has been modified using the return argument mechanism as opposed to
passing a reference to that data in an argument list.</p></td></tr></tbody></table></ul><p><a name="f60475"></a></p><p class="pagenavlink"><script language="Javascript">updateSectionId("f60475");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow3.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow3.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow3">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><h3 class="title" id="f60475">Passing String Arguments</h3><a class="indexterm" name="zmw57dd0e28434"></a><p>To call a Java method that has an argument defined as an
object of class <tt>java.lang.String</tt>, you can pass
either a <tt>String</tt> object that was returned from an
earlier Java call or a MATLAB <tt>1</tt>-by-<tt>n</tt> character
array. If you pass the character array, MATLAB converts the array
to a Java object of <tt>java.lang.String</tt> for you.</p><p>For a programming example, see <a href="http://www.mathworks.it/help/techdoc/matlab_external/f16555.html">Example — Reading a URL</a>. This shows a MATLAB character
array that holds a URL being passed to the Java <tt>URL</tt> class
constructor. The constructor, shown below, expects a Java <tt>String</tt> argument.</p><pre class="programlisting">public URL(String spec) throws MalformedURLException</pre><p>In the MATLAB call to
this constructor, a character array specifying the URL is passed. MATLAB converts
this array to a Java <tt>String</tt> object prior to
calling the constructor.</p><pre class="programlisting">url = java.net.URL(... 
     'http://archive.ncsa.uiuc.edu/demoweb/')</pre><a name="f61946"></a><h4 class="title" id="f61946">Passing Strings in an Array</h4><a class="indexterm" name="zmw57dd0e28517"></a><p>When the method you are calling expects an argument of an array
of type <tt>String</tt>, you can create such an array by
packaging the strings together in a MATLAB cell array. The strings
can be of varying lengths since you are storing them in different
cells of the array. As part of the method call, MATLAB converts
the cell array to a Java array of <tt>String</tt> objects.</p><p>In the following example, the <tt>echoPrompts</tt> method
of a user-written class accepts a string array argument that MATLAB converted
from its original format as a cell array of strings. The parameter
list in the Java method appears as follows:</p><pre class="programlisting">public String[] echoPrompts(String s[])</pre><p>You create the input argument by storing both strings in a MATLAB cell
array. MATLAB converts this structure to a Java array of <tt>String</tt>.</p><pre class="programlisting">myaccount.echoPrompts({'Username: ','Password: '})
ans = 
'Username: '
'Password: '</pre><a name="f61738"></a><p class="pagenavlink"><script language="Javascript">updateSectionId("f61738");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow4.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow4.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow4">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><h3 class="title" id="f61738">Passing Java Objects</h3><a class="indexterm" name="zmw57dd0e28579"></a><p>When
calling a method that has an argument belonging to a particular Java class,
you must pass an object that is an instance of that class. In the
example below, the <tt>add</tt> method belonging to the <tt>java.awt.Menu</tt> class
requires, as an argument, an object of the <tt>java.awt.MenuItem</tt> class.
The method declaration for this is:</p><pre class="programlisting">public MenuItem add(MenuItem mi)</pre><p>The example operates on the frame created in the previous example
in <a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f61465">Passing Built-In Types</a>. The
second, third, and fourth lines of code shown here add items to a
menu to be attached to the existing window frame. In each of these
calls to <tt>menu1.add</tt>, an object that is an instance
of the <tt>java.awt.MenuItem</tt> Java class is passed.</p><pre class="programlisting">menu1 = java.awt.Menu('File Options');
menu1.add(java.awt.MenuItem('New'));
menu1.add(java.awt.MenuItem('Open'));
menu1.add(java.awt.MenuItem('Save'));

menuBar=java.awt.MenuBar;
menuBar.add(menu1);
frame.setMenuBar(menuBar);</pre><a name="f65066"></a><h4 class="title" id="f65066">Handling Objects of Class java.lang.Object</h4><a class="indexterm" name="zmw57dd0e28621"></a><p>A special case exists when the method being called takes an
argument of the <tt>java.lang.Object</tt> class. Since this
class is the root of the Java class hierarchy, you can pass objects
of any class in the argument. The following hash table example passes
objects belonging to different classes to a common method, <tt>put</tt>,
which expects an argument of <tt>java.lang.Object</tt>.
The method declaration for <tt>put</tt> is:</p><pre class="programlisting">public synchronized Object put(Object key, Object value)</pre><p>The following MATLAB code passes objects of different types
(<tt>boolean</tt>, <tt>float</tt>, and <tt>string</tt>)
to the <tt>put</tt> method.</p><pre class="programlisting">hTable = java.util.Hashtable;
hTable.put(0, java.lang.Boolean('TRUE'));
hTable.put(1, java.lang.Float(41.287));
hTable.put(2, java.lang.String('test string'));

hTable                  % Verify hash table contents
hTable =
{1.0=41.287, 2.0=test string, 0.0=true}</pre><p>When passing arguments to a method that takes <tt>java.lang.Object</tt>,
it is not necessary to specify the class name for objects of a built-in
type. Line 3, in the example above, specifies that <tt>41.287</tt> is
an instance of class <tt>java.lang.Float</tt>. You can omit
this and simply say, <tt>41.287</tt>, as shown in the following
example. Thus, MATLAB creates each object for you, choosing the
closest matching Java object representation for each argument.</p><p>The three calls to <tt>put</tt> from the preceding
example can be rewritten as:</p><pre class="programlisting">hTable.put(0, 1);
hTable.put(1, 41.287);
hTable.put(2, 'test string');</pre><a name="f58329"></a><h4 class="title" id="f58329">Passing Objects in an Array</h4><a class="indexterm" name="zmw57dd0e28698"></a><p>The only types of object arrays that you can pass to Java methods
are Java arrays and MATLAB cell arrays. MATLAB automatically
converts the cell array elements to <tt>java.lang.Object</tt> class
objects. Note that in order for a cell array to be passed from MATLAB,
the corresponding argument in the Java method signature must
specify <tt>java.lang.Object</tt> or an array of <tt>java.lang.Object</tt>.</p><p>If the objects are already in a Java array, either an array
returned from a Java constructor or constructed in MATLAB by
the <a href="http://www.mathworks.it/help/techdoc/ref/javaarray.html"><tt>javaArray</tt></a> function, then
you simply pass it as the argument to the method being called. No
conversion is done by MATLAB, because the argument is already
a Java array.</p><p>The following example shows the <tt>mapPoints</tt> method
of a user-written class accepting an array of <tt>java.awt.Point</tt> objects.
The declaration for this method is:</p><pre class="programlisting">public Object mapPoints(java.awt.Point p[])</pre><p>The MATLAB code shown below creates a <tt>4</tt>-by-<tt>1</tt> array
containing four Java <tt>Point</tt> objects. When the
array is passed to the <tt>mapPoints</tt> method, no conversion
is necessary because the <tt>javaArray</tt> function created
a Java array of <tt>java.awt.Point</tt> objects.</p><pre class="programlisting">pointObj = javaArray('java.awt.Point',4);
pointObj(1) = java.awt.Point(25,143);
pointObj(2) = java.awt.Point(31,147);
pointObj(3) = java.awt.Point(49,151);
pointObj(4) = java.awt.Point(52,176);

testData.mapPoints(pointObj);</pre><a name="f61891"></a><h4 class="title" id="f61891">Handling a Cell Array of Java Objects</h4><a class="indexterm" name="zmw57dd0e28803"></a><p>You create a cell array of Java objects by using the MATLAB syntax <tt>{a1,a2,...}</tt>.
You index into a cell array of Java objects in the usual way,
with the syntax <tt>a{m,n,...}</tt>.</p><p>The following example creates a cell array of two <tt>Frame</tt> objects, <tt>frame1</tt> and <tt>frame2</tt>,
and assigns it to variable <tt>frameArray</tt>.</p><pre class="programlisting">frame1 = java.awt.Frame('Frame A');
frame2 = java.awt.Frame('Frame B');

frameArray = {frame1, frame2}
frameArray = 
[1x1 java.awt.Frame]    [1x1 java.awt.Frame]</pre><p>The next statement assigns element <tt>{1,2}</tt> of
the cell array <tt>frameArray</tt> to variable <tt>f</tt>.</p><pre class="programlisting">f = frameArray {1,2}
f =
java.awt.Frame[frame2,0,0,0x0,invalid,hidden,layout = 
java.awt.BorderLayout,resizable,title=Frame B]</pre><a name="f58930"></a><p class="pagenavlink"><script language="Javascript">updateSectionId("f58930");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow5.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow5.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow5">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><h3 class="title" id="f58930">Other Data Conversion Topics</h3><p>There are several remaining items of interest regarding the
way MATLAB software converts its data to a compatible Java type.
This includes how MATLAB matches array dimensions, and how it
handles empty matrices and empty strings.</p><a name="f59017"></a><h4 class="title" id="f59017">How Array Dimensions Affect Conversion</h4><a class="indexterm" name="zmw57dd0e28873"></a><p>The term <span class="emphasis"><em>dimension</em></span>, as used in this section,
refers more to the number of subscripts required to address the elements
of an array than to its length, width, and height characteristics.
For example, a <tt>5</tt>-by-<tt>1</tt> array
is referred to as having one dimension, because its individual elements
can be indexed into using only one array subscript.</p><p>In converting MATLAB to Java arrays, MATLAB handles
dimension in a special manner. For a MATLAB array, dimension
can be considered as the number of nonsingleton dimensions in the
array. For example, a <tt>10</tt>-by-<tt>1</tt> array
has dimension 1, and a <tt>1</tt>-by-<tt>1</tt> array
has dimension 0. In Java code, dimension is determined solely
by the number of nested arrays. For example, <tt>double[][]</tt> has
dimension 2, and <tt>double</tt> has dimension 0.</p><p>If the Java array's number of dimensions exactly matches
the MATLAB array's number of dimensions <tt>n</tt>,
the conversion results in a Java array with <tt>n</tt> dimensions.
If the Java array has fewer than <tt>n</tt> dimensions,
the conversion drops singleton dimensions, starting with the first
one, until the number of remaining dimensions matches the number of
dimensions in the Java array.</p><a name="f59021"></a><h4 class="title" id="f59021">Empty Matrices and Nulls</h4><a class="indexterm" name="zmw57dd0e28953"></a><a class="indexterm" name="zmw57dd0e28960"></a><p>The empty matrix is compatible with any method argument for
which <tt>NULL</tt> is a legal value in the Java language.
The empty string (<tt>''</tt>) in MATLAB translates
into an empty (not <tt>NULL</tt>) <tt>String</tt> object
in Java code.</p><a name="f48789"></a><p class="pagenavlink"><script language="Javascript">updateSectionId("f48789");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow6.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow6.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow6">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><h3 class="title" id="f48789">Passing Data to Overloaded Methods</h3><a class="indexterm" name="zmw57dd0e28991"></a><a class="indexterm" name="zmw57dd0e28994"></a><p>When you invoke an overloaded method on a Java object,
the MATLAB software determines which method to invoke by comparing
the arguments your call passes to the arguments defined for the methods.
Note that in this discussion, the term <span class="emphasis"><em>method</em></span> includes
constructors. When it determines the method to call, MATLAB converts
the calling arguments to Java method types according to Java conversion
rules, except for conversions involving objects or cell arrays. See <a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f58329">Passing Objects in an Array</a>.</p><a name="f13270"></a><h4 class="title" id="f13270">How MATLAB Determines the Method to
Call</h4><a class="indexterm" name="zmw57dd0e29028"></a><p>When your MATLAB function
calls a Java method, MATLAB:</p><ol type="1"><li><p><a name="f79102"></a>Checks to make sure that the object (or
class, for a static method) has a method by that name.</p></li><li><p><a name="f79105"></a>Determines whether the invocation passes
the same number of arguments of at least one method with that name.</p></li><li><p><a name="f79108"></a>Makes sure that each passed argument can
be converted to the Java type defined for the method.</p></li></ol><p>If all of the preceding conditions are satisfied, MATLAB calls
the method.</p><p>In a call to an overloaded method, if there is more than one
candidate, MATLAB selects the one with arguments that best fit
the calling arguments. First, MATLAB rejects all methods that
have any argument types that are incompatible with the passed arguments
(for example, if the method has a <tt>double</tt> argument
and the passed argument is a <tt>char</tt>).</p><p>Among the remaining methods, MATLAB selects the one with
the highest fitness value, which is the sum of the fitness values
of all its arguments. The fitness value for each argument is the fitness
of the base type minus the difference between the MATLAB array
dimension and the Java array dimension. (Array dimensionality
is explained in <a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#f59017">How Array Dimensions Affect Conversion</a>.) If two methods have
the same fitness, the first one defined in the Java class is
chosen.</p><a name="f47733"></a><h4 class="title" id="f47733">Example — Calling an Overloaded Method</h4><p>Suppose a function constructs a <tt>java.io.OutputStreamWriter</tt> object, <tt>osw</tt>,
and then invokes a method on the object.</p><pre class="programlisting">osw.write('Test data', 0, 9);</pre><p>MATLAB finds that the class <tt>java.io.OutputStreamWriter</tt> defines
three <tt>write</tt> methods.</p><pre class="programlisting">public void write(int c);
public void write(char[] cbuf, int off, int len);
public void write(String str, int off, int len);</pre><p>MATLAB rejects the first <tt>write</tt> method,
because it takes only one argument. Then, MATLAB assesses the
fitness of the remaining two <tt>write</tt> methods. These
differ only in their first argument, as explained below.</p><p>In the first of these two <tt>write</tt> methods,
the first argument is defined with base type, <tt>char</tt>.
The table, <a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#bqgs38j">Conversion of MATLAB Types to Java Types</a>, shows that for
the type of the calling argument (MATLAB <tt>char</tt>), Java type, <tt>char</tt>,
has a value of <tt>6</tt>. There is no difference between
the dimension of the calling argument and the Java argument.
So the fitness value for the first argument is <tt>6</tt>.</p><p>In the other <tt>write</tt> method, the first argument
has Java type <tt>String</tt>, which has a fitness
value of <tt>7</tt>. The dimension of the Java argument
is <tt>0</tt>, so the difference between it and the calling
argument dimension is 1. Therefore, the fitness value for the first
argument is <tt>6</tt>.</p><p>Because the fitness value of those two <tt>write</tt> methods
is equal, MATLAB calls the one listed first in the class definition,
with <tt>char[]</tt> first argument.</p>
<p><a name="bottom_of_page"></a></p><p class="pagenavlink"><script language="Javascript">updateSectionId("bottom_of_page");</script><script language="Javascript">addTopOfPageButtons();</script><a class="pagenavimglink" href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page" onmouseover="document.images.uparrow7.src=&#39;/help/images/doc_to_top_down.gif&#39;;" onmouseout="document.images.uparrow7.src=&#39;/help/images/doc_to_top_up.gif&#39;;"><img style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0" border="0" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_to_top_up.gif" alt="Back to Top of Page" title="Back to Top of Page" name="uparrow7">&nbsp;</a><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6425.html#top_of_page">Back to Top</a></p><table class="feedbacklinkbot" border="0" width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td>&nbsp;</td><td align="right"><script type="text/javascript" language="JavaScript">
writeDocFeedbackSurveyLink();
</script><div style="padding-right:10px"><strong>Was this topic helpful?</strong> <input type="button" value="Yes" onclick="openWindow(&#39;http://www.customersat3.com/TakeSurvey.asp?si=YU2FDmNEifg%3D&amp;SF=http://www.mathworks.it/help/techdoc/matlab_external/f6425.html-YES&#39;,850,680, &#39;scrollbars=yes,resizable=yes&#39;); return false;">&nbsp;&nbsp;<input type="button" value="No" onclick="openWindow(&#39;http://www.customersat3.com/TakeSurvey.asp?si=YU2FDmNEifg%3D&amp;SF=http://www.mathworks.it/help/techdoc/matlab_external/f6425.html-NO&#39;,850,680, &#39;scrollbars=yes,resizable=yes&#39;); return false;"></div>&nbsp;
</td></tr></tbody></table><p></p><table class="nav" summary="Navigation aid" border="0" width="100%" cellpadding="0" cellspacing="0"><tbody><tr valign="top"><td align="left" width="20"><a href="http://www.mathworks.it/help/techdoc/matlab_external/f15351.html"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/b_prev.gif" border="0" align="bottom" alt="Working with Java Arrays"></a></td><td align="left">Working with Java Arrays</td><td>&nbsp;</td><td align="right">Handling Data Returned from a Java Method</td><td align="right" width="20"><a href="http://www.mathworks.it/help/techdoc/matlab_external/f6671.html"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/b_next.gif" border="0" align="bottom" alt="Handling Data Returned from a Java Method"></a></td></tr></tbody></table><br>

  

  <!-- Last updated: Sun Aug 14 00:56:47 EDT 2011-->
<script type="text/javascript" language="JavaScript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/docscripts_webdoc5b.js"></script>
<!-- BEGIN /help/doc_footer.html -->

<!-- SiteCatalyst code version: H.4. -->
<script language="JavaScript" type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/s_code.js"></script><img name="s_i_mathmain" height="1" width="1" border="0" alt="">
<script language="JavaScript" type="text/javascript"><!--
s.pageName=document.title

s.eVar13='Version B'; //code for testing two versions of the intro text on the homepage products tab

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></script><img name="s_i_mathglobal" height="1" width="1" border="0" alt="" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/s33298600735142">
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//--></script><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.4. -->


<!--JF: Jai and I added the following code for GA to test mobile devices.  12/23/10 -->


<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-7506924-7']);
  _gaq.push(['_setDomainName', 'none']);
  _gaq.push(['_setAllowLinker', true]);
     var whichSection = location.href.split("/");
	
	 
	if ((whichSection[3]) && (whichSection[3].lastIndexOf(".html") == -1)) { 
  	 _gaq.push(['_setCustomVar', 1, 'Section1', whichSection[3], 3]);
	// alert(whichSection[3]);
	}
	if ((whichSection[4]) && (whichSection[4].lastIndexOf(".html") == -1)) { 
  whichSectionCombined = whichSection[3] + "/" + whichSection[4];
	 _gaq.push(['_setCustomVar', 2, 'Section2', whichSectionCombined, 3]);
	// alert(whichSectionCombined);
	}
	if ((whichSection[5]) && (whichSection[5].lastIndexOf(".html") == -1)) { 
  whichSectionCombined = whichSection[3] + "/" + whichSection[4] + "/" + whichSection[5];
	 _gaq.push(['_setCustomVar', 3, 'Section3', whichSectionCombined, 3]);
	  //alert(whichSectionCombined);
	}
	
_gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

    
    
  
  
<style type="text/css">
.doc_spotlight li a, .doc_spotlight_link a { color:#1f5fac }
.doc_spotlight li a:hover, .doc_spotlight_link a:hover { color:#C86A02 }
.doc_spotlight_link a { font-size:12px; font-weight:bold }
</style>
<!--<div style="background-color: #f8f8f8; border: 1px solid #cccccc; padding: 9px; margin: 0px 0px 20px 0; clear:both; width:633px;">
<table width="100%">
                                         <tr>
                                         <td style="border-right:solid #cccccc 1px;" width="60%" valign="top"><div style="padding-right:5px;">
<img  src="/help/includes/images/ml_spotlight.jpg" style="float:left; margin-right:6px; padding-left:2px; margin-bottom:20px;" />
<strong>MATLAB Interactive Kit</strong>

<p style="padding-bottom:5px;">Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.</p>
<span style="margin-left:3px; margin-top:7px; float:left;"><img src="/images/more_arrows.gif" width="12" height="8" border="0" alt=""><a href="/programs/techkits/techkit_ml_b2.html" style="text-decoration:none;" target="_blank"><strong>Get the interactive kit</strong></a></span>
</div>
</td>

<td valign="top">
                                         
                                           
                                           
                                           <div style="padding-left:30px;">
                                           <strong>Recommended Products</strong>                                         
                                            
                                           
                                             <ul style="margin-bottom:0px; padding-bottom:0px;">
                                             
                                               <li><a href="/products/matlab/" style="text-decoration:none;" target="_blank">MATLAB</a></li>
                                               
                                               <li><a href="/products/signal/" style="text-decoration:none;" target="_blank">Signal Processing Toolbox</a> </li>
                                               <li><a href="/products/optimization/" style="text-decoration:none;" target="_blank">Optimization Toolbox</a> </li>
                                               
                                           
                                               <li><a href="/products/statistics/" style="text-decoration:none;" target="_blank">Statistics Toolbox</a></li>
                                               <li><a href="/products/control/" style="text-decoration:none;" target="_blank">Control System Toolbox</a> </li>
                                                
                                             
                                             </ul>
                                            <span style="margin-left:3px; margin-top:7px; float:left;"><img src="/images/more_arrows.gif" width="12" height="8" border="0" alt=""><a href="/programs/trials/trial_request.html?prodcode=ML,SG,OP,ST,CT" style="text-decoration:none;" target="_blank"><strong>Get MATLAB trial software</strong></a></span>
                                             </div>
                                         </td>
                                         </tr>
                                         </table>




</div>  -->

<!--<img src="/help/includes/images/ml_spotlight_cr.jpg" /><br /><br /> -->



<div class="doc_spotlight_container" style="background:url(/help/includes/images/images/doc_ml_spotlight_03.jpg); background-repeat:repeat; border:1px solid #c3d0e0; width:619px; height:130px; margin: 0px 0px 20px 0; padding:7px; clear:both; height:">
<div style="float:left; margin-right:10px;"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_ml_spotlight_06.jpg" style="float:left"></div>

   <div style="float:right; width:195px; margin:11px 0 0 20px;">  <h4>Recommended Products</h4>
   <ul class="doc_spotlight" style="margin-left:17px;">
   	<li><a href="http://www.mathworks.it/products/matlab/" target="_blank" onclick="clickDynamic(this, this.href, &#39;?s_cid=SA_trafrefpai_MLipspot_Doc_ML_MATLAB&#39;)">MATLAB</a></li>
    <li><a href="http://www.mathworks.it/products/signal/" target="_blank" onclick="clickDynamic(this, this.href, &#39;?s_cid=SA_trafrefpai_MLipspot_Doc_ML_SignalTB&#39;)">Signal Processing Toolbox</a></li>
    <li><a href="http://www.mathworks.it/products/optimization/" target="_blank" onclick="clickDynamic(this, this.href, &#39;?s_cid=SA_trafrefpai_MLipspot_Doc_ML_OptTB&#39;)">Optimization Toolbox</a></li>
   <li><a href="http://www.mathworks.it/products/statistics/" target="_blank" onclick="clickDynamic(this, this.href, &#39;?s_cid=SA_trafrefpai_MLipspot_Doc_ML_StatsTB&#39;)">Statistics Toolbox</a></li>
    <li><a href="http://www.mathworks.it/products/control/" target="_blank" onclick="clickDynamic(this, this.href, &#39;?s_cid=SA_trafrefpai_MLipspot_Doc_ML_ContSysTB&#39;)">Control System Toolbox</a></li>
   </ul>
   <p class="doc_spotlight_link" style="padding-top:3px;"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/blue_chevron_03.jpg"><a href="http://www.mathworks.it/programs/trials/trial_request.html?prodcode=ML&eventid=563929124&s_cid=SA_campgntrial_MLipspot_Doc_ML_trial" target="_blank">Get MATLAB trial software</a></p>
   </div>
   
 <img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_ml_spotlight_10.jpg" style="float:right">
 <img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/doc_ml_spotlight_08.jpg">
<p>Includes the most popular MATLAB recorded presentations with Q&amp;A sessions led by MATLAB experts.</p>
<p class="doc_spotlight_link" style="padding-top:25px;"><img src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/blue_chevron_03.jpg"><a href="http://www.mathworks.it/programs/techkits/techkit_ml_b2.html?ref=doc&s_cid=SA_campgnkit_MLipspot_Doc_ML_kit" target="_blank">Get the Interactive Kit</a></p>
  

  
        </div>
  


<!--<img src="/help/includes/images/ml_spotlight_cr_1.jpg" /><br />
<br /> -->
  
  
  
    
        
    
 
<script type="text/javascript" src="./Passing Data to a Java Method  Using Java Libraries from MATLAB_files/jquery.hover-intent.js"></script>
  
    
   <table id="docfooter" style="border-top: 2px solid #ED8000; background-color:#FFFFFF;" width="100%" border="0" cellspacing="0" cellpadding="3" summary="layout" align="center">
      <tbody><tr>
        <td align="center" style="font-size: 11px;">&nbsp;© 1984-2012- The MathWorks, Inc. &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<a href="http://www.mathworks.it/help.html" target="_top" style="font-weight: normal">Site Help</a>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<a href="http://www.mathworks.it/company/aboutus/policies_statements/patents.html" target="_top" style="font-weight: normal">Patents</a>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<a href="http://www.mathworks.it/company/aboutus/policies_statements/trademarks.html" target="_top" style="font-weight: normal">Trademarks</a>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<a href="http://www.mathworks.it/company/aboutus/policies_statements/" target="_top" style="font-weight: normal">Privacy Policy</a>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<a href="http://www.mathworks.it/company/aboutus/policies_statements/piracy.html" target="_top" style="font-weight: normal">Preventing Piracy</a>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<a href="http://www.mathworks.it/company/rss/index.html" target="_top" style="font-weight: normal">RSS</a></td>
      </tr>
    </tbody></table>
<!-- END /help/doc_footer.html -->

</div>

</body></html>